@nyar/nyar-darwin-x64 0.0.0-stage → 0.0.1
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.
- package/README.md +17 -2
- package/libnyar_napi.dylib +0 -0
- package/package.json +34 -4
- package/readme.md +18 -0
package/README.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @nyar/nyar-darwin-x64
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Prebuilt **native host sidecar** for Nyar VM on macOS x64. **Not a public import target.**
|
|
4
|
+
|
|
5
|
+
This package is pulled automatically when installing `@nyar/nyar` on a matching host.
|
|
6
|
+
|
|
7
|
+
## Example
|
|
8
|
+
|
|
9
|
+
Application code imports the main package only:
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
import { createNyarHost } from "@nyar/nyar";
|
|
13
|
+
|
|
14
|
+
const host = await createNyarHost();
|
|
15
|
+
await host.runBytecode(bytes);
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Build and publish pipelines are documented for maintainers in the repository; they are not repeated here.
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,36 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nyar/nyar-darwin-x64",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "Nyar native collect — darwin x64 (Node-API host)",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"os": [
|
|
7
|
+
"darwin"
|
|
8
|
+
],
|
|
9
|
+
"cpu": [
|
|
10
|
+
"x64"
|
|
11
|
+
],
|
|
12
|
+
"files": [
|
|
13
|
+
"libnyar_napi.dylib",
|
|
14
|
+
"readme.md",
|
|
15
|
+
"README.md"
|
|
16
|
+
],
|
|
17
|
+
"engines": {
|
|
18
|
+
"node": ">=20"
|
|
19
|
+
},
|
|
20
|
+
"keywords": [
|
|
21
|
+
"nyar",
|
|
22
|
+
"nyar-vm",
|
|
23
|
+
"native",
|
|
24
|
+
"node-api",
|
|
25
|
+
"darwin",
|
|
26
|
+
"x64"
|
|
27
|
+
],
|
|
28
|
+
"repository": {
|
|
29
|
+
"type": "git",
|
|
30
|
+
"url": "git+https://github.com/nyar-vm/nyar-vm.rs.git",
|
|
31
|
+
"directory": "projects/packages/nyar-darwin-x64"
|
|
32
|
+
},
|
|
33
|
+
"publishConfig": {
|
|
34
|
+
"access": "public"
|
|
35
|
+
}
|
|
36
|
+
}
|
package/readme.md
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# @nyar/nyar-darwin-x64
|
|
2
|
+
|
|
3
|
+
Prebuilt **native host sidecar** for Nyar VM on macOS x64. **Not a public import target.**
|
|
4
|
+
|
|
5
|
+
This package is pulled automatically when installing `@nyar/nyar` on a matching host.
|
|
6
|
+
|
|
7
|
+
## Example
|
|
8
|
+
|
|
9
|
+
Application code imports the main package only:
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
import { createNyarHost } from "@nyar/nyar";
|
|
13
|
+
|
|
14
|
+
const host = await createNyarHost();
|
|
15
|
+
await host.runBytecode(bytes);
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Build and publish pipelines are documented for maintainers in the repository; they are not repeated here.
|