@wae/open-ctf-darwin-arm64 0.0.0-stage → 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.
- package/README.md +22 -3
- package/package.json +27 -4
package/README.md
CHANGED
|
@@ -1,3 +1,22 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
# @wae/open-ctf-darwin-arm64
|
|
2
|
+
|
|
3
|
+
macOS Apple Silicon native addon for `@wae/open-ctf`. **Not a public import
|
|
4
|
+
target.**
|
|
5
|
+
|
|
6
|
+
Installed automatically as an optional dependency of `@wae/open-ctf` on a
|
|
7
|
+
matching host. The package contains one staged `.node` file.
|
|
8
|
+
|
|
9
|
+
## Example
|
|
10
|
+
|
|
11
|
+
Application code imports the main package; this artifact loads underneath it:
|
|
12
|
+
|
|
13
|
+
```ts
|
|
14
|
+
import { OpenCTF } from '@wae/open-ctf';
|
|
15
|
+
|
|
16
|
+
const ctf = new OpenCTF({ path: '/samples/app' });
|
|
17
|
+
console.log(ctf.info().architecture);
|
|
18
|
+
ctf.close();
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
The addon is not published yet. See the
|
|
22
|
+
[root README](../../../readme.md) for the product overview.
|
package/package.json
CHANGED
|
@@ -1,6 +1,29 @@
|
|
|
1
1
|
{
|
|
2
|
+
"cpu": [
|
|
3
|
+
"arm64"
|
|
4
|
+
],
|
|
5
|
+
"description": "macOS ARM64 native addon for @wae/open-ctf",
|
|
6
|
+
"engines": {
|
|
7
|
+
"node": ">=18"
|
|
8
|
+
},
|
|
9
|
+
"files": [
|
|
10
|
+
"open-ctf.darwin-arm64.node",
|
|
11
|
+
"README.md",
|
|
12
|
+
"License.md"
|
|
13
|
+
],
|
|
14
|
+
"license": "Apache-2.0",
|
|
15
|
+
"main": "open-ctf.darwin-arm64.node",
|
|
2
16
|
"name": "@wae/open-ctf-darwin-arm64",
|
|
3
|
-
"
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
17
|
+
"os": [
|
|
18
|
+
"darwin"
|
|
19
|
+
],
|
|
20
|
+
"publishConfig": {
|
|
21
|
+
"access": "public"
|
|
22
|
+
},
|
|
23
|
+
"repository": {
|
|
24
|
+
"directory": "projects/packages/open-ctf-darwin-arm64",
|
|
25
|
+
"type": "git",
|
|
26
|
+
"url": "git+https://github.com/nyar-os/OpenCTF.git"
|
|
27
|
+
},
|
|
28
|
+
"version": "0.0.0"
|
|
29
|
+
}
|