@delali/narsil-native-darwin-arm64 0.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +24 -0
  2. package/package.json +25 -0
package/README.md ADDED
@@ -0,0 +1,24 @@
1
+ # @delali/narsil-native-darwin-arm64
2
+
3
+ [![npm](https://img.shields.io/npm/v/@delali/narsil-native-darwin-arm64)](https://www.npmjs.com/package/@delali/narsil-native-darwin-arm64)
4
+ [![license](https://img.shields.io/npm/l/@delali/narsil-native-darwin-arm64)](https://github.com/assetcorp/narsil/blob/main/LICENSE)
5
+
6
+ This package holds the native search core of the Narsil search engine, compiled for macOS on Apple silicon.
7
+
8
+ ## Install
9
+
10
+ When you install the library, npm installs this package with it:
11
+
12
+ ```bash
13
+ pnpm add -E @delali/narsil
14
+ ```
15
+
16
+ Every platform package is an optional dependency of [`@delali/narsil`](https://www.npmjs.com/package/@delali/narsil) at the library's own version, so npm installs only the one whose `os` and `cpu` match your host.
17
+
18
+ ## What it does
19
+
20
+ Narsil searches the HNSW graph of each vector field through this core, which returns the same documents with the same scores as Narsil's WebAssembly search. Where Node cannot load this binary, Narsil searches through WebAssembly. To hold a process to the WebAssembly search, set `NARSIL_SEARCH_BACKEND=wasm` before you start it.
21
+
22
+ ## Licence
23
+
24
+ You may use this package under the Apache-2.0 licence. [assetcorp/narsil](https://github.com/assetcorp/narsil) holds the C source, the build script, and the tests.
package/package.json ADDED
@@ -0,0 +1,25 @@
1
+ {
2
+ "name": "@delali/narsil-native-darwin-arm64",
3
+ "version": "0.0.0",
4
+ "description": "Narsil's native search core in C, with its Node-API binding, compiled for macOS on Apple silicon.",
5
+ "license": "Apache-2.0",
6
+ "author": "Delali (https://sondelali.com)",
7
+ "homepage": "https://github.com/assetcorp/narsil",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/assetcorp/narsil.git",
11
+ "directory": "packages/native/npm/darwin-arm64"
12
+ },
13
+ "os": [
14
+ "darwin"
15
+ ],
16
+ "cpu": [
17
+ "arm64"
18
+ ],
19
+ "files": [
20
+ "narsil-core.node"
21
+ ],
22
+ "engines": {
23
+ "node": ">=22"
24
+ }
25
+ }