Skip to content

Commit

Permalink
update package name
Browse files Browse the repository at this point in the history
  • Loading branch information
g6123 committed Jun 12, 2023
1 parent 97c49ec commit 5628507
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
15 changes: 12 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,18 @@
## Installation

```sh
yarn add node-libjq
pnpm add node-libjq
npm install --save node-libjq
yarn add libjq
pnpm add libjq
npm install --save libjq
```

## Example

```javascript
import { run } from 'libjq';

console.log(run('.foo', { foo: 'abc' }));
// abc
```

## Why yet another binding?
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "node-libjq",
"name": "libjq",
"version": "0.1.0",
"author": "cumul <gg6123@naver.com>",
"repository": {
Expand All @@ -20,7 +20,9 @@
"./dist/**/*.js",
"./dist/**/*.mjs",
"./dist/**/*.d.ts",
"./dist/**/*.map"
"./src/**.cc",
"./src/**.h",
"./CMakeLists.txt"
],
"scripts": {
"prepack": "pnpm run build:dist",
Expand Down

0 comments on commit 5628507

Please # to comment.