Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
63 lines (63 loc) · 1.51 KB
/
Copy pathpackage.json
File metadata and controls
63 lines (63 loc) · 1.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"name": "unsafe-pointer",
"version": "0.2.0",
"description": "Unsafely turn ArrayBuffers into raw pointers and raw pointers into ArrayBuffers. Warning: arbitrary memory access can lead to attackers controlling your users' computers.",
"keywords": [
"ffi",
"napi",
"native",
"node-api",
"pointer",
"unsafe"
],
"license": "MIT",
"author": {
"name": "Jake Teton-Landis",
"url": "https://jake.tl"
},
"repository": {
"url": "https://github.com/justjake/node-unsafe-pointer"
},
"files": [
"index.js",
"index.mjs",
"index.d.ts",
"binding.gyp",
"src/",
"prebuilds/"
],
"type": "commonjs",
"main": "./index.js",
"types": "./index.d.ts",
"exports": {
"types": "./index.d.ts",
"import": "./index.mjs",
"require": "./index.js"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"install": "node-gyp-build",
"rebuild": "node-gyp rebuild",
"build": "bun run build:js && bun run build:c",
"build:js": "./scripts/codegen-index-mjs.mts",
"build:c": "./scripts/zig-build-prebuilds.mts",
"test": "node --test ./index.test.js",
"typecheck": "tsc --pretty -p jsconfig.json",
"fmt": "oxfmt"
},
"dependencies": {
"node-gyp-build": "^4.8.4"
},
"devDependencies": {
"@types/bun": "latest",
"node-gyp": "^11.5.0",
"oxfmt": "^0.44.0",
"typescript": "^5",
"zig-build": "github:solarwinds/zig-build#fa7428c0a607e4075172346e4d22f7a19ba68fe0"
},
"engines": {
"node": ">=18"
}
}