sandboxedjs 0.1.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/LICENSE +27 -0
- package/README.md +353 -0
- package/bin/sandboxedjs.mjs +286 -0
- package/dist/index.cjs +19388 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +1958 -0
- package/dist/index.d.ts +1958 -0
- package/dist/index.js +19318 -0
- package/dist/index.js.map +1 -0
- package/package.json +67 -0
package/package.json
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "sandboxedjs",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "A Linux-like container that runs entirely inside Node.js — POSIX shell, ~140 coreutils, Node.js and Python runtimes, virtual filesystem and networking. No Docker, no VM, no native modules.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"sideEffects": false,
|
|
8
|
+
"engines": {
|
|
9
|
+
"node": ">=18.17"
|
|
10
|
+
},
|
|
11
|
+
"main": "./dist/index.cjs",
|
|
12
|
+
"module": "./dist/index.js",
|
|
13
|
+
"types": "./dist/index.d.ts",
|
|
14
|
+
"bin": {
|
|
15
|
+
"sandboxedjs": "./bin/sandboxedjs.mjs",
|
|
16
|
+
"sbx": "./bin/sandboxedjs.mjs"
|
|
17
|
+
},
|
|
18
|
+
"exports": {
|
|
19
|
+
".": {
|
|
20
|
+
"types": "./dist/index.d.ts",
|
|
21
|
+
"import": "./dist/index.js",
|
|
22
|
+
"require": "./dist/index.cjs"
|
|
23
|
+
},
|
|
24
|
+
"./package.json": "./package.json"
|
|
25
|
+
},
|
|
26
|
+
"files": [
|
|
27
|
+
"dist",
|
|
28
|
+
"bin",
|
|
29
|
+
"README.md",
|
|
30
|
+
"LICENSE"
|
|
31
|
+
],
|
|
32
|
+
"scripts": {
|
|
33
|
+
"build": "tsup",
|
|
34
|
+
"dev": "tsup --watch",
|
|
35
|
+
"typecheck": "tsc --noEmit",
|
|
36
|
+
"test": "vitest run",
|
|
37
|
+
"test:watch": "vitest",
|
|
38
|
+
"check": "npm run typecheck && npm run build && npm test",
|
|
39
|
+
"prepublishOnly": "npm run typecheck && npm run build"
|
|
40
|
+
},
|
|
41
|
+
"keywords": [
|
|
42
|
+
"sandbox",
|
|
43
|
+
"linux",
|
|
44
|
+
"container",
|
|
45
|
+
"vfs",
|
|
46
|
+
"shell",
|
|
47
|
+
"posix",
|
|
48
|
+
"bash",
|
|
49
|
+
"coreutils",
|
|
50
|
+
"micropython",
|
|
51
|
+
"python",
|
|
52
|
+
"nodepod",
|
|
53
|
+
"webcontainer",
|
|
54
|
+
"virtual-filesystem",
|
|
55
|
+
"emulator"
|
|
56
|
+
],
|
|
57
|
+
"dependencies": {
|
|
58
|
+
"@micropython/micropython-webassembly-pyscript": "^1.28.0-6",
|
|
59
|
+
"@scelar/nodepod": "^1.9.20"
|
|
60
|
+
},
|
|
61
|
+
"devDependencies": {
|
|
62
|
+
"@types/node": "^22.20.1",
|
|
63
|
+
"tsup": "^8.5.1",
|
|
64
|
+
"typescript": "^5.9.3",
|
|
65
|
+
"vitest": "^2.1.9"
|
|
66
|
+
}
|
|
67
|
+
}
|