{"_id":"@buddhilive/sandbox","_rev":"9-e99852be52244b29a24d2293b7617104","name":"@buddhilive/sandbox","dist-tags":{"latest":"0.1.0-beta.10"},"versions":{"0.1.0-beta.1":{"name":"@buddhilive/sandbox","version":"0.1.0-beta.1","keywords":["sandbox","nodejs","wasm","webassembly","virtual-filesystem","web-worker","client-side"],"author":{"name":"BuddhiLive"},"license":"MIT","_id":"@buddhilive/sandbox@0.1.0-beta.1","maintainers":[{"name":"buddhilive","email":"visitbudkavin@gmail.com"}],"dist":{"shasum":"aabf75417640c8879a66841d1607e6f119635bc8","tarball":"https://registry.npmjs.org/@buddhilive/sandbox/-/sandbox-0.1.0-beta.1.tgz","fileCount":6,"integrity":"sha512-jLxGK00FIRqzARNsWd70QTaLJnq+5i7qlW1P6ME9t9rBJ5mTBkocyf8pIA7KYmZand4P9WaBS0cmCclzOkwpQw==","signatures":[{"sig":"MEUCIHx5cdLZord/Hdrlp9r7GtHOVeXrRNmugo80WSjBc+qdAiEAtMlKBdDPFDyWOqyC4ADFneshhDmR2zfC9AnILbV8zTs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":574663},"main":"./dist/index.cjs","_from":"file:buddhilive-sandbox-0.1.0-beta.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"test":"vitest run","build":"vite build","test:e2e":"playwright test","test:unit":"vitest run tests/unit","typecheck":"tsc --noEmit"},"_npmUser":{"name":"buddhilive","email":"visitbudkavin@gmail.com"},"_resolved":"C:\\Users\\Buddhi\\AppData\\Local\\Temp\\47a728f652bb574bad1e285d2267c2a7\\buddhilive-sandbox-0.1.0-beta.1.tgz","_integrity":"sha512-jLxGK00FIRqzARNsWd70QTaLJnq+5i7qlW1P6ME9t9rBJ5mTBkocyf8pIA7KYmZand4P9WaBS0cmCclzOkwpQw==","_npmVersion":"11.6.2","description":"Client-side Node.js sandbox running entirely in WebAssembly & Web Workers","directories":{},"_nodeVersion":"24.13.0","dependencies":{"fflate":"^0.8.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^5.2.11","vitest":"^1.6.0","typescript":"^5.4.5","vite-plugin-dts":"^3.9.1","@playwright/test":"^1.44.0","buddhilive-sandbox-core":"0.1.0-beta.1","@buddhilive/sandbox-toolchain":"0.1.0-beta.1"},"_npmOperationalInternal":{"tmp":"tmp/sandbox_0.1.0-beta.1_1789047895597_0.19199983363352868","host":"s3://npm-registry-packages-npm-production"}},"0.1.0-beta.3":{"name":"@buddhilive/sandbox","version":"0.1.0-beta.3","keywords":["sandbox","nodejs","wasm","webassembly","virtual-filesystem","web-worker","client-side"],"author":{"name":"BuddhiLive"},"license":"MIT","_id":"@buddhilive/sandbox@0.1.0-beta.3","maintainers":[{"name":"buddhilive","email":"visitbudkavin@gmail.com"}],"dist":{"shasum":"d7974ccec5b594bdfbac25240bba60cbf049df06","tarball":"https://registry.npmjs.org/@buddhilive/sandbox/-/sandbox-0.1.0-beta.3.tgz","fileCount":6,"integrity":"sha512-/06d016Qykmy2A/TF5okCWTc8lGyZ+aGyCUeW6nHhStBMiyTVuhDot2ZtL+M8471F+tkK0osnUkZ8CXOc5/pwQ==","signatures":[{"sig":"MEUCIFK3ZcZYx/DkO46aLTS3zchn7DGaalbQ3HTE8OhlScrFAiEA+Qg7BQR55On7z3tXMuiJZ2LxIb20yhCTL5jYdVpnlv0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCICUyAisW5uAGRZbhalkeC4GIIHeAOSJfnh8Z9cz5SYxxAiEArXL6fip4tEsGNmKdG6WmG/iKTG7E6zLHj0HF3cIUJl4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":677790},"main":"./dist/index.cjs","_from":"file:buddhilive-sandbox-0.1.0-beta.3.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"test":"vitest run","build":"vite build","test:e2e":"playwright test","test:unit":"vitest run tests/unit","typecheck":"tsc --noEmit"},"_npmUser":{"name":"buddhilive","email":"visitbudkavin@gmail.com"},"_resolved":"C:\\Users\\Buddhi\\AppData\\Local\\Temp\\b82f777feca0d21cdca45edc7f3a089d\\buddhilive-sandbox-0.1.0-beta.3.tgz","_integrity":"sha512-/06d016Qykmy2A/TF5okCWTc8lGyZ+aGyCUeW6nHhStBMiyTVuhDot2ZtL+M8471F+tkK0osnUkZ8CXOc5/pwQ==","_npmVersion":"11.6.2","description":"Client-side Node.js sandbox running entirely in WebAssembly & Web Workers","directories":{},"_nodeVersion":"24.13.0","dependencies":{"fflate":"^0.8.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^5.2.11","vitest":"^1.6.0","typescript":"^5.4.5","vite-plugin-dts":"^3.9.1","@playwright/test":"^1.44.0","buddhilive-sandbox-core":"0.1.0-beta.3","@buddhilive/sandbox-toolchain":"0.1.0-beta.3"},"_npmOperationalInternal":{"tmp":"tmp/sandbox_0.1.0-beta.3_1789099386959_0.22476389528362084","host":"s3://npm-registry-packages-npm-production"}},"0.1.0-beta.4":{"name":"@buddhilive/sandbox","version":"0.1.0-beta.4","keywords":["sandbox","nodejs","wasm","webassembly","virtual-filesystem","web-worker","client-side"],"author":{"name":"BuddhiLive"},"license":"MIT","_id":"@buddhilive/sandbox@0.1.0-beta.4","maintainers":[{"name":"buddhilive","email":"visitbudkavin@gmail.com"}],"dist":{"shasum":"eaa78686cb57d0001600b3acfa4a98850c6a0f42","tarball":"https://registry.npmjs.org/@buddhilive/sandbox/-/sandbox-0.1.0-beta.4.tgz","fileCount":7,"integrity":"sha512-jc3jgu8RiiXc8hmOImwUasiNnycr1leFfoEAyagEZ12BeI/09gGxqdcVDfzVo0lKUN93emaw3rU3E2e4YJmExQ==","signatures":[{"sig":"MEQCIExN9SmLUXMI+pVDtteVIGTCqdPzLEMXdU88OkNktq7cAiBkXuEwakTSzHZFvSpYxqqKHedS2IjeFNgKVMyiTglDMQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIFyu2BnzH7sxU3kQXEwPDT7CF7LIs/9Q1Di5leDNMxItAiEAiVLBaUogF42CQcKq7364mibpdah7ByN88CXqHikF57E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":777298},"main":"./dist/index.cjs","_from":"file:buddhilive-sandbox-0.1.0-beta.4.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"test":"vitest run","build":"vite build","test:e2e":"playwright test","test:unit":"vitest run tests/unit","typecheck":"tsc --noEmit"},"_npmUser":{"name":"buddhilive","email":"visitbudkavin@gmail.com"},"_resolved":"C:\\Users\\Buddhi\\AppData\\Local\\Temp\\e12ca5b6bb43d853929001801afe6889\\buddhilive-sandbox-0.1.0-beta.4.tgz","_integrity":"sha512-jc3jgu8RiiXc8hmOImwUasiNnycr1leFfoEAyagEZ12BeI/09gGxqdcVDfzVo0lKUN93emaw3rU3E2e4YJmExQ==","_npmVersion":"11.6.2","description":"Client-side Node.js sandbox running entirely in WebAssembly & Web Workers","directories":{},"_nodeVersion":"24.13.0","dependencies":{"fflate":"^0.8.2","@buddhilive/sandbox-toolchain":"0.1.0-beta.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^5.2.11","vitest":"^1.6.0","typescript":"^5.4.5","vite-plugin-dts":"^3.9.1","@playwright/test":"^1.44.0","buddhilive-sandbox-core":"0.1.0-beta.4"},"_npmOperationalInternal":{"tmp":"tmp/sandbox_0.1.0-beta.4_1789144185153_0.8255244694435238","host":"s3://npm-registry-packages-npm-production"}},"0.1.0-beta.5":{"name":"@buddhilive/sandbox","version":"0.1.0-beta.5","keywords":["sandbox","nodejs","wasm","webassembly","virtual-filesystem","web-worker","client-side"],"author":{"name":"BuddhiLive"},"license":"MIT","_id":"@buddhilive/sandbox@0.1.0-beta.5","maintainers":[{"name":"buddhilive","email":"visitbudkavin@gmail.com"}],"dist":{"shasum":"27d86ea55e35a046a7156a5abfdc81f54a9e9c5a","tarball":"https://registry.npmjs.org/@buddhilive/sandbox/-/sandbox-0.1.0-beta.5.tgz","fileCount":7,"integrity":"sha512-d6x2iwymFEZeLQ1UD/h4R8GFsiNQDbxKrcx9mmPOpO6JzndflEV/A6L9tTQCjlid0hCcoKDCMomv51I2DHsTvg==","signatures":[{"sig":"MEUCIGXBeCIN0GPKUzeyYJ86apgvapOT2L2vuOaoNjnKP+nOAiEAzRMljjcp7+2kfMrgnTDEh3pM/MvhRVgS1+Y14NBLNBo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIBkAXkfO1469va5i0YVTIfDTdOsGd4gzjLravfeMNTVUAiBuReYXetTTYq7+nZkA+z/j4EV2MWLznfgiQGpAhes/hw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":813564},"main":"./dist/index.cjs","_from":"file:buddhilive-sandbox-0.1.0-beta.5.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"test":"vitest run","build":"vite build","test:e2e":"playwright test","test:unit":"vitest run tests/unit","typecheck":"tsc --noEmit"},"_npmUser":{"name":"buddhilive","email":"visitbudkavin@gmail.com"},"_resolved":"C:\\Users\\Buddhi\\AppData\\Local\\Temp\\b7b5e8fec10f754d7596fe50e30a6c5d\\buddhilive-sandbox-0.1.0-beta.5.tgz","_integrity":"sha512-d6x2iwymFEZeLQ1UD/h4R8GFsiNQDbxKrcx9mmPOpO6JzndflEV/A6L9tTQCjlid0hCcoKDCMomv51I2DHsTvg==","_npmVersion":"11.6.2","description":"Client-side Node.js sandbox running entirely in WebAssembly & Web Workers","directories":{},"_nodeVersion":"24.13.0","dependencies":{"fflate":"^0.8.2","@buddhilive/sandbox-toolchain":"0.1.0-beta.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^5.2.11","vitest":"^1.6.0","typescript":"^5.4.5","vite-plugin-dts":"^3.9.1","@playwright/test":"^1.44.0","buddhilive-sandbox-core":"0.1.0-beta.5"},"_npmOperationalInternal":{"tmp":"tmp/sandbox_0.1.0-beta.5_1789296636977_0.5651489037005639","host":"s3://npm-registry-packages-npm-production"}},"0.1.0-beta.6":{"name":"@buddhilive/sandbox","version":"0.1.0-beta.6","keywords":["sandbox","nodejs","wasm","webassembly","virtual-filesystem","web-worker","client-side"],"author":{"name":"BuddhiLive"},"license":"MIT","_id":"@buddhilive/sandbox@0.1.0-beta.6","maintainers":[{"name":"buddhilive","email":"visitbudkavin@gmail.com"}],"dist":{"shasum":"b5187ea3eccdffcb53c2bdf4bd3169795bbd3b37","tarball":"https://registry.npmjs.org/@buddhilive/sandbox/-/sandbox-0.1.0-beta.6.tgz","fileCount":6,"integrity":"sha512-0zW2k7V86Qu+nuWaAHQmOskx49tFNsaak6F3iEuxUxxgpxuZMgDxWVXqOcw0nYGD4Oy/gb5Nt7owtDBFkONrFA==","signatures":[{"sig":"MEQCIEBFaEsz5TcD9Z32+2SzWCSgdcqBlmTBnwn4/UuoJE9QAiALT6hH4mY5I6Z7J8kMwhovYIpyPx/r3tZ3zz/vrQBavA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDb/UdVXz6vtUIfpZbaUTkb5zIELccC/eeYMI+EqkDnLgIhAPNpYNgTrs1PZYZOghe7pA/QWqO+pNVPIHB9WGHShMoU","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19007381},"main":"./dist/index.cjs","_from":"file:buddhilive-sandbox-0.1.0-beta.6.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"test":"vitest run","build":"vite build","test:e2e":"playwright test","test:unit":"vitest run tests/unit","typecheck":"tsc --noEmit"},"_npmUser":{"name":"buddhilive","email":"visitbudkavin@gmail.com"},"_resolved":"C:\\Users\\Buddhi\\AppData\\Local\\Temp\\a487aec1ef3fb5e43e96985cb936e10b\\buddhilive-sandbox-0.1.0-beta.6.tgz","_integrity":"sha512-0zW2k7V86Qu+nuWaAHQmOskx49tFNsaak6F3iEuxUxxgpxuZMgDxWVXqOcw0nYGD4Oy/gb5Nt7owtDBFkONrFA==","_npmVersion":"11.6.2","description":"Client-side Node.js sandbox running entirely in WebAssembly & Web Workers","directories":{},"_nodeVersion":"24.13.0","dependencies":{"fflate":"^0.8.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^5.2.11","vitest":"^1.6.0","typescript":"^5.4.5","vite-plugin-dts":"^3.9.1","@playwright/test":"^1.44.0","buddhilive-sandbox-core":"0.1.0-beta.6"},"_npmOperationalInternal":{"tmp":"tmp/sandbox_0.1.0-beta.6_1790169782461_0.48931758808246406","host":"s3://npm-registry-packages-npm-production"}},"0.1.0-beta.7":{"name":"@buddhilive/sandbox","version":"0.1.0-beta.7","keywords":["sandbox","nodejs","wasm","webassembly","virtual-filesystem","web-worker","client-side"],"author":{"name":"BuddhiLive"},"license":"MIT","_id":"@buddhilive/sandbox@0.1.0-beta.7","maintainers":[{"name":"buddhilive","email":"visitbudkavin@gmail.com"}],"dist":{"shasum":"cfd66a837a9115fac213922c40243eadc5d888da","tarball":"https://registry.npmjs.org/@buddhilive/sandbox/-/sandbox-0.1.0-beta.7.tgz","fileCount":6,"integrity":"sha512-AA3NaWAkFu580dvqCVh41KOgU9x6puTphROC/3ZuLkVkPJswvALtDAIslvVKPZg0YRBgLQihtkXFcAEACPX1jg==","signatures":[{"sig":"MEQCIBqSdrVeGnVcNySvA/7AqCK4V8NporoKwRbR6XE4ljO4AiBHoxAhIU6nuGpVYT8LOLMidgRQEC5kcdMiHlTMO9SzXw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCICiqjqR9NfM4GGXxPGuOdD0ZNc2p5iaMbjuWOovqSMoJAiAwbgi8ycct91qKBvWDgsV/IKpg0Fr2MnNKmeN2QiuO4g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19525221},"main":"./dist/index.cjs","_from":"file:buddhilive-sandbox-0.1.0-beta.7.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"test":"vitest run","build":"vite build","test:e2e":"playwright test","test:unit":"vitest run tests/unit","typecheck":"tsc --noEmit"},"_npmUser":{"name":"buddhilive","email":"visitbudkavin@gmail.com"},"_resolved":"C:\\Users\\Buddhi\\AppData\\Local\\Temp\\523c26990929f039c6755fcdc553b57f\\buddhilive-sandbox-0.1.0-beta.7.tgz","_integrity":"sha512-AA3NaWAkFu580dvqCVh41KOgU9x6puTphROC/3ZuLkVkPJswvALtDAIslvVKPZg0YRBgLQihtkXFcAEACPX1jg==","_npmVersion":"11.6.2","description":"Client-side Node.js sandbox running entirely in WebAssembly & Web Workers","directories":{},"_nodeVersion":"24.13.0","dependencies":{"fflate":"^0.8.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^5.2.11","vitest":"^1.6.0","typescript":"^5.4.5","vite-plugin-dts":"^3.9.1","@playwright/test":"^1.44.0","buddhilive-sandbox-core":"0.1.0-beta.7"},"_npmOperationalInternal":{"tmp":"tmp/sandbox_0.1.0-beta.7_1790532632935_0.6540196769347557","host":"s3://npm-registry-packages-npm-production"}},"0.1.0-beta.8":{"name":"@buddhilive/sandbox","version":"0.1.0-beta.8","keywords":["sandbox","nodejs","wasm","webassembly","virtual-filesystem","web-worker","client-side"],"author":{"name":"BuddhiLive"},"license":"MIT","_id":"@buddhilive/sandbox@0.1.0-beta.8","maintainers":[{"name":"buddhilive","email":"visitbudkavin@gmail.com"}],"dist":{"shasum":"91f8da6aaaa7eace018390a8be3ba1a63a601000","tarball":"https://registry.npmjs.org/@buddhilive/sandbox/-/sandbox-0.1.0-beta.8.tgz","fileCount":6,"integrity":"sha512-/MPx7LwmaTB1lwPENNeXq05+r33gRgZp17hi7wTbXGxbe1Hw60YJU3p/AhYE1oE8nXA5xL+TE9ZRJocMp72h1w==","signatures":[{"sig":"MEUCIQDX3RC6aPoW8y3Y4A1kMK+h6O2ob0w1fkb0mhN3eDQDcQIgI3mYRVlc7pQwmTPrc7yPpDhOdkRcSNgjRZFMk5DDxB0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIB198pGCMStkcV6K9Ndtc/KhKvAXPp9+hYg2jbvyVXeGAiEA1klbbiHzULZh84K3J0Vr4Rg9rVt23jFITrZhk53gUik=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19525158},"main":"./dist/index.cjs","_from":"file:buddhilive-sandbox-0.1.0-beta.8.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"test":"vitest run","build":"vite build","test:e2e":"playwright test","test:unit":"vitest run tests/unit","typecheck":"tsc --noEmit"},"_npmUser":{"name":"buddhilive","email":"visitbudkavin@gmail.com"},"_resolved":"C:\\Users\\Buddhi\\AppData\\Local\\Temp\\380dcd91eca6396daeadb95c57323811\\buddhilive-sandbox-0.1.0-beta.8.tgz","_integrity":"sha512-/MPx7LwmaTB1lwPENNeXq05+r33gRgZp17hi7wTbXGxbe1Hw60YJU3p/AhYE1oE8nXA5xL+TE9ZRJocMp72h1w==","_npmVersion":"11.6.2","description":"Client-side Node.js sandbox running entirely in WebAssembly & Web Workers","directories":{},"_nodeVersion":"24.13.0","dependencies":{"fflate":"^0.8.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^5.2.11","vitest":"^1.6.0","typescript":"^5.4.5","vite-plugin-dts":"^3.9.1","@playwright/test":"^1.44.0","buddhilive-sandbox-core":"0.1.0-beta.8"},"_npmOperationalInternal":{"tmp":"tmp/sandbox_0.1.0-beta.8_1790570639961_0.33681181722270415","host":"s3://npm-registry-packages-npm-production"}},"0.1.0-beta.9":{"name":"@buddhilive/sandbox","version":"0.1.0-beta.9","keywords":["sandbox","nodejs","wasm","webassembly","virtual-filesystem","web-worker","client-side"],"author":{"name":"BuddhiLive"},"license":"MIT","_id":"@buddhilive/sandbox@0.1.0-beta.9","maintainers":[{"name":"buddhilive","email":"visitbudkavin@gmail.com"}],"dist":{"shasum":"61aecb1273053c09c378c825b74f72df6c299875","tarball":"https://registry.npmjs.org/@buddhilive/sandbox/-/sandbox-0.1.0-beta.9.tgz","fileCount":6,"integrity":"sha512-y6GttQJlymC7GE0X4UfBXIRZN/IaJjvYLpLQKMgAPCmgDcnNXIoIC8pkEY01Lskq1SOy/Kq5eFoxpmoFM5VbAg==","signatures":[{"sig":"MEYCIQCaTv7XM3w1Ovtqba2aMpPL0H+RJq1a92xAIhY6dwEsKgIhANrGm7MoymIYxLeBfQKBLGOrcbxiS6CWsqCjDfoExFOe","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIFvgy90NPJV3DQ9SpI8VZGYc2qzUGS3OjBxYthZByC45AiEAl88AgIytLLd+hE6Tlj1l2AZ5qlh83tdt1tTtmOzVWPY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19525316},"main":"./dist/index.cjs","_from":"file:buddhilive-sandbox-0.1.0-beta.9.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"test":"vitest run","build":"vite build","test:e2e":"playwright test","test:unit":"vitest run tests/unit","typecheck":"tsc --noEmit"},"_npmUser":{"name":"buddhilive","email":"visitbudkavin@gmail.com"},"_resolved":"C:\\Users\\Buddhi\\AppData\\Local\\Temp\\3e186119c3922faebf6f0c2de89461f1\\buddhilive-sandbox-0.1.0-beta.9.tgz","_integrity":"sha512-y6GttQJlymC7GE0X4UfBXIRZN/IaJjvYLpLQKMgAPCmgDcnNXIoIC8pkEY01Lskq1SOy/Kq5eFoxpmoFM5VbAg==","_npmVersion":"11.6.2","description":"Client-side Node.js sandbox running entirely in WebAssembly & Web Workers","directories":{},"_nodeVersion":"24.13.0","dependencies":{"fflate":"^0.8.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^5.2.11","vitest":"^1.6.0","typescript":"^5.4.5","vite-plugin-dts":"^3.9.1","@playwright/test":"^1.44.0","buddhilive-sandbox-core":"0.1.0-beta.8"},"_npmOperationalInternal":{"tmp":"tmp/sandbox_0.1.0-beta.9_1790579957496_0.18158377301338313","host":"s3://npm-registry-packages-npm-production"}},"0.1.0-beta.10":{"_id":"@buddhilive/sandbox@0.1.0-beta.10","dist":{"shasum":"a4a8dad9bd3f4a0376d396a49309695668fb8b12","tarball":"https://registry.npmjs.org/@buddhilive/sandbox/-/sandbox-0.1.0-beta.10.tgz","fileCount":6,"integrity":"sha512-9npCRoFDYlyQfLQvG6LDK8yw7yW4IfhFaiDPiGERkHTvCt6ieDgOFp0rW/MVGpNNinyLDNRvS7JPyhTZnQFodg==","signatures":[{"sig":"MEQCIG2zG6aoPU1NlIQlXKjyyUDL5LBDXc3GOLJSNuLzJTf3AiAUJCYCXzsSJllHrhlKdTKbBWMvODH1U+ucYh9mO9B+DQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIG2H2NbVZchgASzUQnSP/miVTvulgX+8wHDAEcrKPrjbAiEA4YbJGbbRHEtcG4wlU5/9I9lIudTyLH3UV+diWhsyXOA="}],"unpackedSize":19555181},"main":"./dist/index.cjs","name":"@buddhilive/sandbox","_from":"file:buddhilive-sandbox-0.1.0-beta.10.tgz","types":"./dist/index.d.ts","author":{"name":"BuddhiLive"},"module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"license":"MIT","scripts":{"test":"vitest run","build":"vite build","test:e2e":"playwright test","test:unit":"vitest run tests/unit","typecheck":"tsc --noEmit"},"version":"0.1.0-beta.10","_npmUser":{"name":"buddhilive","email":"visitbudkavin@gmail.com"},"keywords":["sandbox","nodejs","wasm","webassembly","virtual-filesystem","web-worker","client-side"],"_resolved":"C:\\Users\\Buddhi\\AppData\\Local\\Temp\\cd922236c7c4e5c94034f51a83caefc2\\buddhilive-sandbox-0.1.0-beta.10.tgz","_integrity":"sha512-9npCRoFDYlyQfLQvG6LDK8yw7yW4IfhFaiDPiGERkHTvCt6ieDgOFp0rW/MVGpNNinyLDNRvS7JPyhTZnQFodg==","_npmVersion":"11.6.2","description":"Client-side Node.js sandbox running entirely in WebAssembly & Web Workers","directories":{},"maintainers":[{"name":"buddhilive","email":"visitbudkavin@gmail.com"}],"_nodeVersion":"24.13.0","dependencies":{"fflate":"^0.8.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^5.2.11","vitest":"^1.6.0","typescript":"^5.4.5","vite-plugin-dts":"^3.9.1","@playwright/test":"^1.44.0","buddhilive-sandbox-core":"0.1.0-beta.8"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sandbox_0.1.0-beta.10_1790597794536_0.17544712635081106"}}},"time":{"created":"2026-09-10T13:44:55.395Z","modified":"2026-09-28T12:16:34.958Z","0.1.0-beta.1":"2026-09-10T13:44:55.762Z","0.1.0-beta.3":"2026-09-11T04:03:07.122Z","0.1.0-beta.4":"2026-09-11T16:29:45.295Z","0.1.0-beta.5":"2026-09-13T10:50:37.086Z","0.1.0-beta.6":"2026-09-23T13:23:02.672Z","0.1.0-beta.7":"2026-09-27T18:10:33.156Z","0.1.0-beta.8":"2026-09-28T04:44:00.263Z","0.1.0-beta.9":"2026-09-28T07:19:17.727Z","0.1.0-beta.10":"2026-09-28T12:16:34.775Z"},"author":{"name":"BuddhiLive"},"license":"MIT","keywords":["sandbox","nodejs","wasm","webassembly","virtual-filesystem","web-worker","client-side"],"description":"Client-side Node.js sandbox running entirely in WebAssembly & Web Workers","maintainers":[{"name":"buddhilive","email":"visitbudkavin@gmail.com"}],"readme":"# @buddhilive/sandbox\r\n\r\n> Ultra-lightweight, zero-backend, client-side Node.js sandbox running entirely in WebAssembly & Web Workers.\r\n\r\n## Features\r\n\r\n- ⚡ **Zero Backend**: Runs 100% in the user's browser using WebAssembly and dedicated Web Workers.\r\n- 📁 **In-Memory POSIX VirtualFS**: Synchronous and asynchronous filesystem APIs (`readFile`, `writeFile`, `mkdir`, `readdir`, `stat`, `symlink`).\r\n- 🌐 **In-Browser Web Application Previews**: Intercepts HTTP/TCP listeners (`http.createServer().listen(3000)`) via Service Worker and renders them live at `/__preview/:port/` inside `<iframe>` tags.\r\n- 📦 **Client-Side NPM Package Installer**: Installs packages directly from `registry.npmjs.org` using pure-JS decompression (`fflate`).\r\n- 🛠️ **On-Demand Dynamic Native Toolchain**: Lazily loads Python and Clang/Musl WASM compilers only when packages require `node-gyp` builds, keeping initial bundle size minimal.\r\n- 🔒 **Cross-Origin Opener / Embedder Isolated**: High-performance I/O streaming using `SharedArrayBuffer` lock-free ring buffers and Atomics.\r\n\r\n---\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install @buddhilive/sandbox\r\n# or\r\npnpm add @buddhilive/sandbox\r\n# or\r\nyarn add @buddhilive/sandbox\r\n```\r\n\r\n---\r\n\r\n## Quickstart\r\n\r\n```typescript\r\nimport { Sandbox } from '@buddhilive/sandbox';\r\n\r\n// 1. Initialize sandbox instance\r\nconst sandbox = await Sandbox.create();\r\n\r\n// 2. Write a script to the in-memory VirtualFS\r\nawait sandbox.fs.writeFile(\r\n  '/workspace/index.js',\r\n  `console.log(\"Hello from inside the client-side Node.js Sandbox!\");`\r\n);\r\n\r\n// 3. Spawn a process and stream stdout\r\nconst proc = await sandbox.process.spawn('node', ['/workspace/index.js']);\r\n\r\nconst reader = proc.stdout.getReader();\r\nconst decoder = new TextDecoder();\r\n\r\nwhile (true) {\r\n  const { value, done } = await reader.read();\r\n  if (done) break;\r\n  console.log(decoder.decode(value));\r\n}\r\n\r\nconst exitCode = await proc.exit;\r\nconsole.log('Exited with code:', exitCode);\r\n\r\n// 4. Clean up\r\nawait sandbox.dispose();\r\n```\r\n\r\n---\r\n\r\n## Web Server Previews\r\n\r\n```typescript\r\n// Listen for virtual port events\r\nsandbox.ports.on('listen', ({ port, url }) => {\r\n  console.log(`Port ${port} opened at preview URL: ${url}`);\r\n  previewIframe.src = url;\r\n});\r\n\r\n// Run a web server inside the sandbox\r\nawait sandbox.fs.writeFile('/workspace/server.js', `\r\n  const http = require('http');\r\n  const server = http.createServer((req, res) => {\r\n    res.writeHead(200, { 'Content-Type': 'text/html' });\r\n    res.end('<h1>Live Preview from In-Browser Sandbox!</h1>');\r\n  });\r\n  server.listen(3000);\r\n`);\r\n\r\nawait sandbox.process.spawn('node', ['/workspace/server.js']);\r\n```\r\n\r\n---\r\n\r\n## Architecture Overview\r\n\r\n```text\r\n┌─────────────────────────────────────────────────────────────┐\r\n│ Browser Main Thread (Host Application)                      │\r\n│ - import { Sandbox } from '@buddhilive/sandbox'             │\r\n│ - sandbox.fs / sandbox.process / sandbox.ports             │\r\n└──────────────┬──────────────────────────────▲───────────────┘\r\n               │ postMessage                  │ SAB Streams\r\n               ▼                              │\r\n┌─────────────────────────────────────────────┴───────────────┐\r\n│ Web Worker (Execution Sandbox)                              │\r\n│ - Rust WebAssembly (buddhilive-sandbox-core)                │\r\n│ - In-Memory VirtualFS (Inode Table)                         │\r\n│ - QuickJS Virtual Process Context                           │\r\n│ - SPSC Lock-Free SharedArrayBuffer Ring Buffer              │\r\n└─────────────────────────────────────────────────────────────┘\r\n```\r\n\r\n---\r\n\r\n## Opinionated Next.js Stack (`next-stack` Preset)\r\n\r\nThe SDK provides first-class, out-of-the-box support for a batteries-included, zero-server Next.js stack:\r\n\r\n| Layer | Canonical Package | Verified Version |\r\n|---|---|---|\r\n| **Styling** | `tailwindcss`, `@tailwindcss/postcss` | `^4.0.0` |\r\n| **Components** | `shadcn` primitives, `lucide-react` | `^1.16.0` |\r\n| **AI Elements** | `ai-elements` | `^0.1.0` |\r\n| **State** | `zustand` | `^5.0.0` |\r\n| **Database & ORM** | `drizzle-orm`, `@libsql/client` (WASM) | `^0.38.0` / `^0.14.0` |\r\n| **Authentication** | `better-auth` | `^1.1.0` |\r\n| **Generative AI** | `ai` (Vercel AI SDK), `@ai-sdk/openai` | `^6.0.0` / `^1.1.0` |\r\n\r\n### Initializing with `stackPreset`\r\n\r\n```typescript\r\nimport { Sandbox, scaffoldNextStackApp } from '@buddhilive/sandbox';\r\n\r\n// 1. Create sandbox with next-stack preset\r\nconst sandbox = await Sandbox.create({\r\n  stackPreset: 'next-stack',\r\n  maxMemoryMb: 1024,\r\n});\r\n\r\n// 2. Scaffold all 16 canonical config and starter files\r\nawait scaffoldNextStackApp(sandbox, {\r\n  appName: 'my-app',\r\n  withAuth: true,\r\n  withAI: true,\r\n});\r\n\r\n// Or via the Sandbox instance helper\r\nawait sandbox.scaffoldNextStackApp();\r\n```\r\n\r\n---\r\n\r\n## License\r\n\r\nMIT © BuddhiLive\r\n","readmeFilename":"README.md"}