You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> Template project for writing node packages with napi-rs.
5
+
> Fast text search library powered by Rust ripgrep, providing Node.js bindings via NAPI-RS
6
6
7
-
# Usage
8
-
9
-
1. Click **Use this template**.
10
-
2.**Clone** your project.
11
-
3. Run `pnpm install` to install dependencies.
12
-
4. Run `npx napi rename -n [name]` command under the project folder to rename your package.
13
-
14
-
## Install this test package
7
+
## Install this package
15
8
16
9
```
17
-
pnpm add @napi-rs/ripgrep-napi
10
+
pnpm add @mcpc-tech/ripgrep-napi
18
11
```
19
12
20
13
## Usage
@@ -41,7 +34,7 @@ The other problem is how to deliver prebuild `binary` to users. Downloading it i
41
34
42
35
In this package, we choose a better way to solve this problem. We release different `npm packages` for different platforms. And add it to `optionalDependencies` before releasing the `Major` package to npm.
43
36
44
-
`NPM` will choose which native package should download from `registry` automatically. You can see [npm](./npm) dir for details. And you can also run `pnpm add @napi-rs/ripgrep-napi` to see how it works.
37
+
`NPM` will choose which native package should download from `registry` automatically. You can see [npm](./npm) dir for details. And you can also run `pnpm add @mcpc-tech/ripgrep-napi` to see how it works.
0 commit comments