{"_id":"@bentopdf/gs-wasm","_rev":"2-07f2b2c5c1b1f502b32ef9bd693706e0","name":"@bentopdf/gs-wasm","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@bentopdf/gs-wasm","version":"0.1.0","author":{"name":"BentoPDF"},"license":"AGPL-3.0","_id":"@bentopdf/gs-wasm@0.1.0","maintainers":[{"name":"bentopdf","email":"bentopdf@gmail.com"}],"dist":{"shasum":"9386d5e832cd43d01dae28d6f50f15a63363b7a0","tarball":"https://registry.npmjs.org/@bentopdf/gs-wasm/-/gs-wasm-0.1.0.tgz","fileCount":7,"integrity":"sha512-C71zxZW4R7Oa6fdya5leTh2VOZOxqH8IQlveh13OeuwZ2ulrovSi9629xTzAiIeeVKvDZma1Klxy4MuK65xe9w==","signatures":[{"sig":"MEQCIFFD/7WBKxeNoYu4+/ZlFpox/khtWli7Zv5zdb1Yyd33AiBUOQzL5LrcdnPbM+xD8iN6VMypkkLCdYptC/JTt7AgEw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15607644},"main":"dist/index.js","type":"module","types":"types/index.d.ts","module":"dist/index.js","exports":{".":{"types":"./types/index.d.ts","import":"./dist/index.js"}},"gitHead":"ed82b6dc3a6b152fddf0872c4f2656949fbab6b1","scripts":{"build":"esbuild src/index.ts --bundle --format=esm --outfile=dist/index.js --external:./assets/*","typecheck":"tsc --noEmit"},"_npmUser":{"name":"bentopdf","email":"bentopdf@gmail.com"},"_npmVersion":"10.8.2","description":"Ghostscript compiled to WebAssembly for BentoPDF","directories":{},"_nodeVersion":"20.19.6","dependencies":{"@types/emscripten":"^1.39.10"},"_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.21.2","typescript":"^5.3.3"},"_npmOperationalInternal":{"tmp":"tmp/gs-wasm_0.1.0_1766674852785_0.5148305241097297","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@bentopdf/gs-wasm","version":"0.1.1","description":"Ghostscript compiled to WebAssembly for BentoPDF","type":"module","main":"dist/index.js","module":"dist/index.js","types":"types/index.d.ts","exports":{".":{"import":"./dist/index.js","types":"./types/index.d.ts"}},"scripts":{"build":"esbuild src/index.ts --bundle --format=esm --outfile=dist/index.js","typecheck":"tsc --noEmit"},"author":{"name":"BentoPDF"},"contributors":[{"name":"Artifex Software, Inc."}],"license":"AGPL-3.0-only","repository":{"type":"git","url":"git+https://github.com/alam00000/bentopdf-gs-wasm.git"},"dependencies":{"@types/emscripten":"^1.39.10"},"devDependencies":{"esbuild":"^0.21.2","typescript":"^5.3.3"},"gitHead":"9eb6ab47e19ee2ff01fd73c3ee5f8bbc9e50e36e","_id":"@bentopdf/gs-wasm@0.1.1","bugs":{"url":"https://github.com/alam00000/bentopdf-gs-wasm/issues"},"homepage":"https://github.com/alam00000/bentopdf-gs-wasm#readme","_nodeVersion":"25.2.1","_npmVersion":"11.6.2","dist":{"integrity":"sha512-EAliG+AxKLf46lOoDreddjOQtyTZGekJ2KRUXjygMFeg8vimOX44QKpim+t3HGHn0eXKbtsItcdN7qcjMSiuYQ==","shasum":"a0ea0d27d9b87f581f06e19fc180101b0982ddc2","tarball":"https://registry.npmjs.org/@bentopdf/gs-wasm/-/gs-wasm-0.1.1.tgz","fileCount":10,"unpackedSize":15615267,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIFXnJMYNlZWVrU43R0QmYFAbzKeLLSrU4a++7TRWzSBOAiEAjSvoEL88xTEdawocNSR7iWNlQUhA7gHGWCagRZ8MjgU="}]},"_npmUser":{"name":"bentopdf","email":"bentopdf@gmail.com"},"directories":{},"maintainers":[{"name":"bentopdf","email":"bentopdf@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/gs-wasm_0.1.1_1768901288201_0.3997880565583203"},"_hasShrinkwrap":false}},"time":{"created":"2025-12-25T15:00:52.635Z","modified":"2026-01-20T09:28:08.729Z","0.1.0":"2025-12-25T15:00:53.263Z","0.1.1":"2026-01-20T09:28:08.630Z"},"author":{"name":"BentoPDF"},"license":"AGPL-3.0-only","description":"Ghostscript compiled to WebAssembly for BentoPDF","maintainers":[{"name":"bentopdf","email":"bentopdf@gmail.com"}],"readme":"# @bentopdf/gs-wasm\n\nGhostscript compiled to WebAssembly.\n\n## Notice\n\nThis package is a modified version of Ghostscript, originally developed by Artifex Software, Inc.\n\nIt has been adapted for WebAssembly (WASM).\n\n## Attribution\n\nGhostscript is copyright © Artifex Software, Inc.\nThis package is distributed under the GNU Affero General Public License v3.0.\n\nThis project is not affiliated with or endorsed by Artifex Software, Inc.\n\n## Source Code Availability\n\nThis program is licensed under the GNU Affero General Public License v3.0.\nIf you interact with this program over a network, you are entitled to\nreceive the complete corresponding source code.\n\nThe source code for this package is available at:\nhttps://github.com/alam00000/bentopdf-gs-wasm\n\nThis package includes the complete **Corresponding Source** (build scripts and configuration) in the `build_scripts/` directory.\n\n## Build Instructions\n\nTo rebuild the WASM binary from source:\n1. Download the source code from the repository or this package.\n2. Navigate to the `build_scripts/` directory.\n3. Follow the instructions in `build_scripts/README.md`.\n\n## License\n\nThis project is licensed under the [AGPL-3.0-only](LICENSE) license.\n\n## Installation\n\n```bash\nnpm install @bentopdf/gs-wasm\n```\n\n## Usage\n\n```typescript\nimport { loadGhostscriptWASM } from '@bentopdf/gs-wasm';\n\nconst gs = await loadGhostscriptWASM({\n    // Optional: Configure CDN loading\n    baseUrl: 'https://cdn.jsdelivr.net/npm/@bentopdf/gs-wasm@0.1.0/assets/'\n});\n```\n","readmeFilename":"README.md","homepage":"https://github.com/alam00000/bentopdf-gs-wasm#readme","repository":{"type":"git","url":"git+https://github.com/alam00000/bentopdf-gs-wasm.git"},"contributors":[{"name":"Artifex Software, Inc."}],"bugs":{"url":"https://github.com/alam00000/bentopdf-gs-wasm/issues"}}