{"_id":"@afterpack/core","_rev":"3-0557f6f6128c8e9625faf216387b43ba","name":"@afterpack/core","dist-tags":{"latest":"0.0.9"},"versions":{"0.0.1":{"name":"@afterpack/core","version":"0.0.1","keywords":["obfuscator","javascript","minifier","protection","code-protection","afterpack"],"author":{"name":"AfterPack","email":"hello@afterpack.dev"},"license":"MIT","_id":"@afterpack/core@0.0.1","maintainers":[{"name":"afterpack","email":"services@afterpack.dev"}],"homepage":"https://afterpack.dev","bugs":{"url":"https://github.com/afterpack-dev/afterpack/issues"},"dist":{"shasum":"a8b80bfb7b28447a8dc99e7ad547c09f28ab94d3","tarball":"https://registry.npmjs.org/@afterpack/core/-/core-0.0.1.tgz","fileCount":4,"integrity":"sha512-X2MxvWuW87Np/J9E51MuRGvalLlQcsUiOadl4D+ahKbkxKTFgibmt1tdbh49SQqgX6Suvf6gCnibejsAastoNg==","signatures":[{"sig":"MEYCIQDITFqSJFEau0fweF+5haamQrhYj0jhSPGxbZLGN946TAIhAK5FZg5FoXUixC3C6h3rUHLNjexSySeSHh/PxWDd8AEp","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":28240},"main":"index.js","napi":{"targets":["x86_64-apple-darwin","aarch64-apple-darwin","x86_64-unknown-linux-gnu","aarch64-unknown-linux-gnu","x86_64-pc-windows-msvc"],"binaryName":"afterpack-napi"},"types":"index.d.ts","engines":{"node":">= 18"},"gitHead":"56faab11401864caa063cf679fc498b9328b2660","scripts":{"test":"vitest run","build":"pnpm build:native && tsx scripts/postbuild.ts","prepack":"tsx scripts/prepack.ts","version":"napi version","postpack":"tsx scripts/postpack.ts","artifacts":"napi artifacts","test:watch":"vitest","build:debug":"napi build --platform --manifest-path ../../crates/afterpack-napi/Cargo.toml --js index.js --dts index.d.ts -o . && tsx scripts/postbuild.ts","build:native":"napi build --platform --release --manifest-path ../../crates/afterpack-napi/Cargo.toml --js index.js --dts index.d.ts -o .","prepublishOnly":"napi prepublish -t npm"},"_npmUser":{"name":"afterpack","email":"services@afterpack.dev"},"repository":{"url":"git+https://github.com/afterpack-dev/platform.git","type":"git"},"_npmVersion":"10.9.2","description":"AfterPack core engine - High-performance JavaScript obfuscator","directories":{},"_nodeVersion":"22.17.1","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","vitest":"^2.0.0","typescript":"^5.7.0","@types/node":"^22.0.0","@napi-rs/cli":"^3.0.0-alpha.64"},"optionalDependencies":{"@afterpack/core-darwin-x64":"0.0.1","@afterpack/core-darwin-arm64":"0.0.1","@afterpack/core-linux-x64-gnu":"0.0.1","@afterpack/core-win32-x64-msvc":"0.0.1","@afterpack/core-linux-arm64-gnu":"0.0.1"},"_npmOperationalInternal":{"tmp":"tmp/core_0.0.1_1767820368472_0.6300411469187361","host":"s3://npm-registry-packages-npm-production"}},"0.0.8":{"name":"@afterpack/core","version":"0.0.8","keywords":["obfuscator","javascript","minifier","protection","code-protection","afterpack"],"author":{"name":"AfterPack","email":"hello@afterpack.dev"},"license":"MIT","_id":"@afterpack/core@0.0.8","maintainers":[{"name":"afterpack","email":"services@afterpack.dev"}],"homepage":"https://www.afterpack.dev","bugs":{"url":"https://github.com/afterpack-dev/afterpack/issues"},"dist":{"shasum":"5d8409ea7165ffb0808c9af986fd99f495520ab2","tarball":"https://registry.npmjs.org/@afterpack/core/-/core-0.0.8.tgz","fileCount":4,"integrity":"sha512-lzRvnJDOXxz7kuCguUmRkmCvAbnnFWwsjQhPt6Sjbgl1AonjCtxRnRc8sAxQs3F3w2oU+OVntcV2N7bbXyvLyw==","signatures":[{"sig":"MEUCIQDZBz/VJJ8g/eIg8yibpQcfB8CpWGi/JeMiQXFrDaW9vgIgegfrBldmi6E8pqtRPxuaYiYm/h9t1yhi0it/0mQ8OUg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27995},"main":"index.js","napi":{"targets":["x86_64-apple-darwin","aarch64-apple-darwin","x86_64-unknown-linux-gnu","aarch64-unknown-linux-gnu","x86_64-pc-windows-msvc"],"binaryName":"afterpack-napi"},"types":"index.d.ts","engines":{"node":">= 18"},"gitHead":"b096d7ef98cd67dcf03aba0e35993ad7c4e1a60b","scripts":{"test":"vitest run","build":"pnpm build:native && tsx scripts/postbuild.ts","prepack":"tsx scripts/prepack.ts","version":"napi version","postpack":"tsx scripts/postpack.ts","artifacts":"napi artifacts","test:watch":"vitest","build:debug":"napi build --platform --manifest-path ../../crates/afterpack-napi/Cargo.toml --js index.js --dts index.d.ts -o . && tsx scripts/postbuild.ts","build:native":"napi build --platform --release --manifest-path ../../crates/afterpack-napi/Cargo.toml --js index.js --dts index.d.ts -o ."},"_npmUser":{"name":"afterpack","email":"services@afterpack.dev"},"repository":{"url":"git+https://github.com/afterpack-dev/platform.git","type":"git"},"_npmVersion":"10.9.4","description":"AfterPack core engine - High-performance JavaScript obfuscator","directories":{},"_nodeVersion":"22.21.1","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","vitest":"^2.0.0","typescript":"^5.7.0","@types/node":"^22.0.0","@napi-rs/cli":"^3.0.0-alpha.64"},"_npmOperationalInternal":{"tmp":"tmp/core_0.0.8_1767837956179_0.7643144943605242","host":"s3://npm-registry-packages-npm-production"}},"0.0.9":{"name":"@afterpack/core","version":"0.0.9","description":"AfterPack core engine - High-performance JavaScript obfuscator","main":"index.js","types":"index.d.ts","napi":{"binaryName":"afterpack-napi","targets":["x86_64-apple-darwin","aarch64-apple-darwin","x86_64-unknown-linux-gnu","aarch64-unknown-linux-gnu","x86_64-pc-windows-msvc"]},"scripts":{"build":"pnpm build:native && tsx scripts/postbuild.ts","build:native":"napi build --platform --release --manifest-path ../../crates/afterpack-napi/Cargo.toml --js index.js --dts index.d.ts -o .","build:debug":"napi build --platform --manifest-path ../../crates/afterpack-napi/Cargo.toml --js index.js --dts index.d.ts -o . && tsx scripts/postbuild.ts","artifacts":"napi artifacts","prepack":"tsx scripts/prepack.ts","postpack":"tsx scripts/postpack.ts","version":"napi version","test":"vitest run","test:watch":"vitest"},"engines":{"node":">= 18"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"devDependencies":{"@napi-rs/cli":"^3.0.0-alpha.64","@types/node":"^22.0.0","tsx":"^4.21.0","typescript":"^5.7.0","vitest":"^2.0.0"},"repository":{"type":"git","url":"git+https://github.com/afterpack-dev/platform.git"},"homepage":"https://www.afterpack.dev","bugs":{"url":"https://github.com/afterpack-dev/afterpack/issues"},"keywords":["obfuscator","javascript","minifier","protection","code-protection","afterpack"],"author":{"name":"AfterPack","email":"hello@afterpack.dev"},"license":"MIT","optionalDependencies":{"@afterpack/core-darwin-arm64":"0.0.9","@afterpack/core-darwin-x64":"0.0.9","@afterpack/core-linux-arm64-gnu":"0.0.9","@afterpack/core-linux-x64-gnu":"0.0.9","@afterpack/core-win32-x64-msvc":"0.0.9"},"_id":"@afterpack/core@0.0.9","gitHead":"43582ef632893f830298d4480f8f201d7d1cb2b4","_nodeVersion":"22.21.1","_npmVersion":"10.9.4","dist":{"integrity":"sha512-KPop4DQtcbzr7Slv2KO0Ojw24fXXJJl68bzaAUdVjLWMjK/SsOtsjttZYmjVIV2KzcTB7DeWUx7xiTVkXGPjTw==","shasum":"6e34f0438b9087302ddd40e38373f362b882c2f4","tarball":"https://registry.npmjs.org/@afterpack/core/-/core-0.0.9.tgz","fileCount":4,"unpackedSize":28256,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQC2Mde1DWcjy0VzMUWRkF7U1ma6xeiIvC7PIvWcZKOtUAIgQRf9pDUJydcdMs7uM2Rgdg+4hvkmMkcZ7qG1Faisu1Y="}]},"_npmUser":{"name":"afterpack","email":"services@afterpack.dev"},"directories":{},"maintainers":[{"name":"afterpack","email":"services@afterpack.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/core_0.0.9_1767839407315_0.5716360292484157"},"_hasShrinkwrap":false}},"time":{"created":"2026-01-07T21:12:48.385Z","modified":"2026-01-08T02:30:07.765Z","0.0.1":"2026-01-07T21:12:48.596Z","0.0.8":"2026-01-08T02:05:56.380Z","0.0.9":"2026-01-08T02:30:07.509Z"},"bugs":{"url":"https://github.com/afterpack-dev/afterpack/issues"},"author":{"name":"AfterPack","email":"hello@afterpack.dev"},"license":"MIT","homepage":"https://www.afterpack.dev","keywords":["obfuscator","javascript","minifier","protection","code-protection","afterpack"],"repository":{"type":"git","url":"git+https://github.com/afterpack-dev/platform.git"},"description":"AfterPack core engine - High-performance JavaScript obfuscator","maintainers":[{"name":"afterpack","email":"services@afterpack.dev"}],"readme":"# [@afterpack/core](https://www.afterpack.dev)\n\nThe high-performance JavaScript obfuscation engine that powers [AfterPack](https://www.afterpack.dev).\n\nBuilt with Rust for maximum speed — 20-70x faster than alternatives.\n\n## Features\n\n- **Free & Production-Ready** — Full obfuscation suite at no cost. Pro unlocks advanced tooling, not basic protection\n- **Irreversible Obfuscation** — Non-linear transforms that can't be reversed by deobfuscators or AI\n- **Any Complexity Level** — From minimal (`--inflate=1`) to extreme (`--inflate=1000`) protection\n- **Deterministic Builds** — Same input = same output. CI cache friendly, HMR compatible\n- **Source Maps** — Generate and chain source maps for production debugging\n- **Blazing Fast** — Rust-powered, 20-70x faster than alternatives\n- **Dual Runtime** — Native Node.js bindings + WASM for edge and browser\n- **Cross-Platform** — macOS, Linux, Windows (x64 & arm64)\n\n## Installation\n\n```bash\nnpm install @afterpack/core\n```\n\n## Quick Start\n\n```javascript\nimport { process, version } from \"@afterpack/core\";\n\nconst obfuscated = process('console.log(\"hello\")');\nconsole.log(version()); // \"0.0.1\"\n```\n\n## For Most Users\n\n**Use the CLI instead** for a better experience:\n\n```bash\nnpx afterpack dist/\n```\n\nThis package (`@afterpack/core`) is the low-level engine.\n\n## Links\n\n- [Website](https://www.afterpack.dev)\n- [Documentation](https://www.afterpack.dev/docs)\n- [CLI Package](https://npmjs.com/package/afterpack)\n- [GitHub](https://github.com/afterpack-dev/afterpack)\n\n## License\n\nMIT © [AfterPack](https://www.afterpack.dev)\n","readmeFilename":"readme.md"}