{"bugs":{"url":"https://github.com/bokuweb/zstd-wasm/issues"},"dist":{"shasum":"7a966aeab675ba42cbcf6cba84c70a3aece1cca9","tarball":"https://registry.npmjs.org/@bokuweb/zstd-wasm/-/zstd-wasm-0.0.14.tgz","fileCount":62,"integrity":"sha512-5pkce57OteVrDbtkEi2lWF8viH4MtMLry6BikYV1xtkVxTXQuOu6cLBv08yGWrEfw/oRp6TAkpTAndOVx9OpKA==","signatures":[{"sig":"MEUCIBa4Lrsg1p/TU2XV58TLdZ4BbhQoy9ut+Kxp/yih6ixsAiEA/I0N56YQ5TuGofzQyatCkXB+5DDIZG7c40479Wb/Gq4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1184838,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhAKIbCRA9TVsSAnZWagAAKfoQAIKFv99c3WV3oRTWrjNA\n5ro10Zq97wQIiuBxMb/xmYiAvthlsTfSPgABUWuFySUTJKG0W3ctZ6V4wxQm\nOtsel//x6Atxu7myl7UeHvtSfCjBOGxXSSKLjxgAOy64gYik/Wa7o+J/TCTs\nOyDGlvRc9TJCkEYgNXxaLzhwU8u+fuxIM03YFPQMd+eNXvZj1FbR50/BQe6V\niN2bzHrycyesM+7gDAF1QEUrtOjfh3qFt6IMsv7/DmD10qAUeqQX4Lnm/YdV\nEUdnAPjGE7fKoptjGGu0PFUtfqNGNet1mKISBZF07/geFTSZuVNWXToBbpJs\nCwE8Mkd9+LLC+jFYhAuXCfGgK0Lq6/Y1uPLOODnR8BI8nxCBMQ0zBjGzpxAs\nlP4n2Yde/GBgIJvmGYhf1x4QvuC6oOhu5ypvNU1jGU01r/iuLlKKPPKjbLZy\nuPXcbTqJKJwCXvWKk4xwsrlIGDq7lo6VVFQeOy9E1yLLVvbjeWvZ/8XP1tBm\nrtPOPLAE3W6vgGMyID/a1I/bpOeOM6I8i2DOq39WJ9lA2YvzRNsbzRROgzuy\nmgerUBNBSeGamTcSrHezAj+NeOK9cb8wBRx194z7dnm1jF8mQM0dTIm+Uk0l\nomuDEuZl9jkPMnp2SkDTb+rX1QeQZA5s9W/wKvuct4VK2paQpeaRXefiPA3B\n2GJP\r\n=IPZc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/common/index.node.js","name":"@bokuweb/zstd-wasm","types":"dist/web/index.web.d.ts","author":{"email":"bokuweb12@gmail.com"},"browser":"dist/web/index.web.js","exports":{"node":"./dist/common/index.node.js","browser":"./dist/web/index.web.js","default":"./dist/common/index.node.js","require":"./dist/common/index.node.js"},"gitHead":"98f9ab82e4dee1363e88221d2d6bfe3116c7b6ce","license":"MIT","scripts":{"tsc":"tsc -p tsconfig.json --skipLibCheck","copy":"cp ./zstd/zstd.wasm ./lib/wasm && cp ./zstd/zstd.js ./lib/wasm","test":"npm run largefile && jest && rm ./test/large-file","build":"npm run build:was && npm run build:js","clean":"rm -rf dist","serve":"webpack-dev-server","bundle":"webpack","rename":"renamer --dry-run --find \"/dist/esm/*.js$/\" --replace mjs","tsc:esm":"tsc -p tsconfig.node.esm.json --skipLibCheck","tsc:web":"tsc -p tsconfig.web.json --skipLibCheck","build:js":"npm run clean && npm run build:web && npm run build:common && npm run build:esm","benchmark":"npx ts-node ./benchmark/index.ts","build:esm":"npm run tsc:esm && npm run copy:wasm:esm","build:web":"npm run tsc:web && npm run copy:wasm:web","largefile":"yes \"Hello\" | head -n 40000000 > ./test/large-file","build:deno":"node tools/deno.js","build:wasm":"docker run --rm -v $(pwd):/src -u $(id -u):$(id -g) emscripten/emsdk emcc zstd.c -flto -o ./zstd.js -O3 --memory-init-file 0 --post-js export_module.js -s EXPORTED_FUNCTIONS=\"['_ZSTD_isError', '_ZSTD_getFrameContentSize', '_ZSTD_getErrorName', '_ZSTD_decompress', '_ZSTD_compress', '_ZSTD_compressBound', '_malloc', '_free']\" -s EXPORTED_RUNTIME_METHODS=\"['cwrap']\" -s FILESYSTEM=0 -s ALLOW_MEMORY_GROWTH=1","tsc:common":"tsc -p tsconfig.node.common.json --skipLibCheck","build:common":"npm run tsc:common && npm run copy:wasm:common","combine:zstd":"cd zstd/build/single_file_libs && bash ./create_single_file_library.sh && cp zstd.c ../../zstd.c","copy:wasm:esm":"cp -r ./lib/wasm dist/esm/wasm","copy:wasm:web":"cp -r ./lib/wasm dist/web/wasm","prepublishOnly":"npm run build:js","copy:wasm:common":"cp -r ./lib/wasm dist/common/wasm"},"_npmUser":{"name":"bokuweb","email":"bokuweb12@gmail.com"},"homepage":"https://github.com/bokuweb/zstd-wasm#readme","repository":{"url":"git+ssh://git@github.com/bokuweb/zstd-wasm.git","type":"git"},"_npmVersion":"6.14.9","description":"<img src=\"https://github.com/bokuweb/zstd-wasm/workflows/Continuous%20Integration/badge.svg\" alt=\"Build Status\" />","directories":{},"maintainers":[{"name":"bokuweb","email":"bokuweb12@gmail.com"}],"_nodeVersion":"14.15.3","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"27.0.6","renamer":"^3.2.1","ts-jest":"27.0.4","webpack":"4.46.0","glob-all":"3.2.1","prettier":"2.3.2","benchmark":"2.1.4","ts-loader":"8.3.0","typescript":"4.3.5","@types/jest":"26.0.24","@types/node":"15.6.1","file-loader":"6.2.0","webpack-cli":"3.3.12","text-encoding":"0.7.0","@types/benchmark":"2.1.1","webpack-dev-server":"3.11.2","copy-webpack-plugin":"6.4.1","html-webpack-plugin":"3.2.0"},"_npmOperationalInternal":{"tmp":"tmp/zstd-wasm_0.0.14_1627431451078_0.372479020514483","host":"s3://npm-registry-packages"},"_id":"@bokuweb/zstd-wasm@0.0.14","version":"0.0.14"}