diff --git a/README.md b/README.md index 9089881..b43bf30 100644 --- a/README.md +++ b/README.md @@ -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? diff --git a/package.json b/package.json index 41ded27..e8ff08d 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "node-libjq", + "name": "libjq", "version": "0.1.0", "author": "cumul ", "repository": { @@ -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",