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