{"_id":"zstd.ts","_rev":"7-ce409f474f73389ce7e6196ea76d42d5","name":"zstd.ts","dist-tags":{"latest":"1.1.3"},"versions":{"0.0.0":{"name":"zstd.ts","version":"0.0.0","description":"TODO: add desc","keywords":[],"author":{"name":"Beeno Tung","email":"aabbcc1241@yahoo.com.hk","url":"https://beeno-tung.surge.sh"},"license":"BSD-2-Clause","main":"dist/cjs/index.js","types":"dist/cjs/index.d.ts","module":"dist/esm/index.js","sideEffects":false,"scripts":{"prepare":"run-p prepare:*","prepare:husky":"husky install","prepare:tslib":"rimraf node_modules/@beenotung/tslib/index.*","clean":"rimraf dist","format":"run-s format:*","format:prettier":"prettier --write .","format:json":"format-json-cli","format:eslint":"eslint --ext .ts --fix .","build":"run-s clean tsc","tsc":"run-p tsc:*","tsc:cjs":"tsc -p tsconfig.cjs.json","tsc:esm":"tsc -p tsconfig.esm.json","test":"run-s format tsc test:ts mocha","test:ts":"ts-node test/index.ts","mocha":"ts-mocha \"{src,test}/**/*.spec.ts\"","coverage":"nyc npm run mocha -- --reporter=progress","report:update":"nyc --reporter=lcov npm run mocha -- --reporter=progress","report:open":"open-cli coverage/lcov-report/index.html","report":"run-s report:update report:open","prepublishOnly":"run-s test build"},"directories":{"test":"test"},"dependencies":{"@beenotung/tslib":"^17.7.2","tslib":"^2.3.1"},"devDependencies":{"@types/chai":"^4.2.22","@types/mocha":"^9.0.0","@types/node":"*","@types/sinon":"^10.0.4","@typescript-eslint/eslint-plugin":"^4.33.0","@typescript-eslint/parser":"^4.33.0","chai":"^4.3.4","eslint":"^7.32.0","format-json-cli":"^1.0.1","husky":"^7.0.2","mocha":"^9.1.2","npm-run-all":"^4.1.5","nyc":"^15.1.0","open-cli":"^7.0.1","prettier":"^2.4.1","rimraf":"^3.0.2","sinon":"^11.1.2","ts-mocha":"^8.0.0","ts-node":"^10.2.1","ts-node-dev":"^1.1.8","typescript":"^4.4.3"},"repository":{"type":"git","url":"git+https://github.com/beenotung/zstd.ts.git"},"bugs":{"url":"https://github.com/beenotung/zstd.ts/issues"},"homepage":"https://github.com/beenotung/zstd.ts#readme","gitHead":"eea93b28e9c0e85301098fa8f9625f1cb89e2000","_id":"zstd.ts@0.0.0","_nodeVersion":"14.15.4","_npmVersion":"7.20.6","dist":{"integrity":"sha512-UcgFcHGhjk84zkS+UvtK3G1Ohsz7bfhXrdGbuulClVjDUw8SfvBEiLlCUfSaoHQbKb8zobcli0TmS6b1XFz7qQ==","shasum":"2526fcf60ff9902e0449ecac040e024660dbbb97","tarball":"https://registry.npmjs.org/zstd.ts/-/zstd.ts-0.0.0.tgz","fileCount":8,"unpackedSize":2723,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC6BO11HvKD8wD84ccpolArXxgrpi41qGc2qeRzCmmQZAIgSoKU/8Qub+vOUFRzcFPUxLlqPrEwKOz0yZk/l8yLUVc="}]},"_npmUser":{"name":"beenotung","email":"aabbcc1241@yahoo.com.hk"},"maintainers":[{"name":"beenotung","email":"aabbcc1241@yahoo.com.hk"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/zstd.ts_0.0.0_1633564473154_0.07363330649945588"},"_hasShrinkwrap":false},"1.0.0":{"name":"zstd.ts","version":"1.0.0","description":"compress and decompress using system-installed zstd and unzstd","keywords":["zstd","node","typescript","system","compress","decompress"],"author":{"name":"Beeno Tung","email":"aabbcc1241@yahoo.com.hk","url":"https://beeno-tung.surge.sh"},"license":"BSD-2-Clause","main":"dist/cjs/index.js","types":"dist/cjs/index.d.ts","module":"dist/esm/index.js","sideEffects":false,"scripts":{"prepare":"run-p prepare:*","prepare:husky":"husky install","prepare:tslib":"rimraf node_modules/@beenotung/tslib/index.*","clean":"rimraf dist","format":"run-s format:*","format:prettier":"prettier --write .","format:json":"format-json-cli","format:eslint":"eslint --ext .ts --fix .","build":"run-s clean tsc","tsc":"run-p tsc:*","tsc:cjs":"tsc -p tsconfig.cjs.json","tsc:esm":"tsc -p tsconfig.esm.json","test":"run-s format tsc mocha","mocha":"ts-mocha \"{src,test}/**/*.spec.ts\"","coverage":"nyc npm run mocha -- --reporter=progress","report:update":"nyc --reporter=lcov npm run mocha -- --reporter=progress","report:open":"open-cli coverage/lcov-report/index.html","report":"run-s report:update report:open","prepublishOnly":"run-s test build"},"directories":{"test":"test"},"dependencies":{"@beenotung/tslib":"^17.7.2","tslib":"^2.3.1"},"devDependencies":{"@types/chai":"^4.2.22","@types/mocha":"^9.0.0","@types/node":"*","@types/sinon":"^10.0.4","@typescript-eslint/eslint-plugin":"^4.33.0","@typescript-eslint/parser":"^4.33.0","chai":"^4.3.4","eslint":"^7.32.0","format-json-cli":"^1.0.1","husky":"^7.0.2","mocha":"^9.1.2","npm-run-all":"^4.1.5","nyc":"^15.1.0","open-cli":"^7.0.1","prettier":"^2.4.1","rimraf":"^3.0.2","sinon":"^11.1.2","ts-mocha":"^8.0.0","ts-node":"^10.2.1","ts-node-dev":"^1.1.8","typescript":"^4.4.3"},"repository":{"type":"git","url":"git+https://github.com/beenotung/zstd.ts.git"},"bugs":{"url":"https://github.com/beenotung/zstd.ts/issues"},"homepage":"https://github.com/beenotung/zstd.ts#readme","gitHead":"c691df643e0e9137abd02d6ff033b584302f27b6","_id":"zstd.ts@1.0.0","_nodeVersion":"14.15.4","_npmVersion":"7.20.6","dist":{"integrity":"sha512-ZqDfUg0EjnBiu2M2WZ873VEz2nw74BzsCIxzyse6IqnDp5xGfkzRo0MXidyXoYncWXoduA/hkMEquTAlaRqfZA==","shasum":"dfd6105c19a0e4732c73566fe79ca0bfc795d209","tarball":"https://registry.npmjs.org/zstd.ts/-/zstd.ts-1.0.0.tgz","fileCount":9,"unpackedSize":9084,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEQNbkXi5pQ6T/ySftBMgNy4gYPGIu+sM+maPSmNYEO5AiEA5v7Srt3bT13SZfgU1rmg8M+M/7iovPcUFIjaICBTz54="}]},"_npmUser":{"name":"beenotung","email":"aabbcc1241@yahoo.com.hk"},"maintainers":[{"name":"beenotung","email":"aabbcc1241@yahoo.com.hk"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/zstd.ts_1.0.0_1633567858771_0.8320121689642554"},"_hasShrinkwrap":false},"1.1.0":{"name":"zstd.ts","version":"1.1.0","description":"compress and decompress using system-installed zstd and unzstd","keywords":["zstd","node","typescript","system","compress","decompress"],"author":{"name":"Beeno Tung","email":"aabbcc1241@yahoo.com.hk","url":"https://beeno-tung.surge.sh"},"license":"BSD-2-Clause","main":"dist/cjs/index.js","types":"dist/cjs/index.d.ts","module":"dist/esm/index.js","sideEffects":false,"scripts":{"prepare":"run-p prepare:*","prepare:husky":"husky install","prepare:tslib":"rimraf node_modules/@beenotung/tslib/index.*","clean":"rimraf dist","format":"run-s format:*","format:prettier":"prettier --write .","format:json":"format-json-cli","format:eslint":"eslint --ext .ts --fix .","build":"run-s clean tsc","tsc":"run-p tsc:*","tsc:cjs":"tsc -p tsconfig.cjs.json","tsc:esm":"tsc -p tsconfig.esm.json","test":"run-s format tsc mocha","mocha":"ts-mocha \"{src,test}/**/*.spec.ts\"","coverage":"nyc npm run mocha -- --reporter=progress","report:update":"nyc --reporter=lcov npm run mocha -- --reporter=progress","report:open":"open-cli coverage/lcov-report/index.html","report":"run-s report:update report:open","prepublishOnly":"run-s test build"},"directories":{"test":"test"},"dependencies":{"@beenotung/tslib":"^17.7.2","tslib":"^2.3.1"},"devDependencies":{"@types/chai":"^4.2.22","@types/mocha":"^9.0.0","@types/node":"*","@types/sinon":"^10.0.4","@typescript-eslint/eslint-plugin":"^4.33.0","@typescript-eslint/parser":"^4.33.0","chai":"^4.3.4","eslint":"^7.32.0","format-json-cli":"^1.0.1","husky":"^7.0.2","mocha":"^9.1.2","npm-run-all":"^4.1.5","nyc":"^15.1.0","open-cli":"^7.0.1","prettier":"^2.4.1","rimraf":"^3.0.2","sinon":"^11.1.2","ts-mocha":"^8.0.0","ts-node":"^10.2.1","ts-node-dev":"^1.1.8","typescript":"^4.4.3"},"repository":{"type":"git","url":"git+https://github.com/beenotung/zstd.ts.git"},"bugs":{"url":"https://github.com/beenotung/zstd.ts/issues"},"homepage":"https://github.com/beenotung/zstd.ts#readme","gitHead":"0e6c345d14241446da90a9759af947cbe6f915f4","_id":"zstd.ts@1.1.0","_nodeVersion":"14.17.0","_npmVersion":"7.24.1","dist":{"integrity":"sha512-z90Cd8oRdXj84SKZ8rrvopqfhPz78ffKIOQSj1x78Tb0rO+wg9qZ1Wkii5ff/W7OBB8qVlWBXFZ7GZwtFZDvQQ==","shasum":"d16a778f1f5a0780df65a67615322c25382d4f02","tarball":"https://registry.npmjs.org/zstd.ts/-/zstd.ts-1.1.0.tgz","fileCount":9,"unpackedSize":18697,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD0aAjErGEvFyjoxR6JyeWVw0Qu0eU8l9LCidXkv6EmAQIhAL4ildVICjhY9Vn0ksrIb5dSxJ/q+BBGNWln7crXh5mS"}]},"_npmUser":{"name":"beenotung","email":"aabbcc1241@yahoo.com.hk"},"maintainers":[{"name":"beenotung","email":"aabbcc1241@yahoo.com.hk"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/zstd.ts_1.1.0_1633771781851_0.7201688568414351"},"_hasShrinkwrap":false},"1.1.1":{"name":"zstd.ts","version":"1.1.1","description":"compress and decompress using system-installed zstd and unzstd","keywords":["zstd","node","typescript","system","compress","decompress"],"author":{"name":"Beeno Tung","email":"aabbcc1241@yahoo.com.hk","url":"https://beeno-tung.surge.sh"},"license":"BSD-2-Clause","main":"dist/cjs/index.js","types":"dist/cjs/index.d.ts","module":"dist/esm/index.js","sideEffects":false,"scripts":{"prepare":"run-p prepare:*","prepare:husky":"husky install","prepare:tslib":"rimraf node_modules/@beenotung/tslib/index.*","clean":"rimraf dist","format":"run-s format:*","format:prettier":"prettier --write .","format:json":"format-json-cli","format:eslint":"eslint --ext .ts --fix .","build":"run-s clean tsc","tsc":"run-p tsc:*","tsc:cjs":"tsc -p tsconfig.cjs.json","tsc:esm":"tsc -p tsconfig.esm.json","test":"run-s format tsc mocha","mocha":"ts-mocha \"{src,test}/**/*.spec.ts\"","coverage":"nyc npm run mocha -- --reporter=progress","report:update":"nyc --reporter=lcov npm run mocha -- --reporter=progress","report:open":"open-cli coverage/lcov-report/index.html","report":"run-s report:update report:open","prepublishOnly":"run-s test build"},"dependencies":{"@beenotung/tslib":"^17.7.2","tslib":"^2.3.1"},"devDependencies":{"@types/chai":"^4.2.22","@types/mocha":"^9.0.0","@types/node":"*","@types/sinon":"^10.0.4","@typescript-eslint/eslint-plugin":"^4.33.0","@typescript-eslint/parser":"^4.33.0","chai":"^4.3.4","eslint":"^7.32.0","format-json-cli":"^1.0.1","husky":"^7.0.2","mocha":"^9.1.2","npm-run-all":"^4.1.5","nyc":"^15.1.0","open-cli":"^7.0.1","prettier":"^2.4.1","rimraf":"^3.0.2","sinon":"^11.1.2","ts-mocha":"^8.0.0","ts-node":"^10.2.1","ts-node-dev":"^1.1.8","typescript":"^4.4.3"},"repository":{"type":"git","url":"git+https://github.com/beenotung/zstd.ts.git"},"bugs":{"url":"https://github.com/beenotung/zstd.ts/issues"},"homepage":"https://github.com/beenotung/zstd.ts#readme","gitHead":"6114a577399933ffed64ab24c9e0342e6b7040af","_id":"zstd.ts@1.1.1","_nodeVersion":"14.17.0","_npmVersion":"7.24.1","dist":{"integrity":"sha512-SZrYrneR0x5wlDNkHNNHXvhzx8aDiXmdRr6QF4/28Jhpf2AKS4h9H+LTKTPbK0s5p6Yg3ECAolf2qwCRyrA21g==","shasum":"9bfc00154da9d2f0a5fc9cac76b7706d7514c336","tarball":"https://registry.npmjs.org/zstd.ts/-/zstd.ts-1.1.1.tgz","fileCount":11,"unpackedSize":27044,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEH1sWpFd4xaeVS5T3d/qI42hLfDcRs55PWt8l2rJBQuAiEA8gOjHuQ+qS5rMzCQbdtQMAVIeEMJq3zLPalpCVewPag="}]},"_npmUser":{"name":"beenotung","email":"aabbcc1241@yahoo.com.hk"},"directories":{},"maintainers":[{"name":"beenotung","email":"aabbcc1241@yahoo.com.hk"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/zstd.ts_1.1.1_1633771932508_0.5172853769160641"},"_hasShrinkwrap":false},"1.1.2":{"name":"zstd.ts","version":"1.1.2","description":"compress and decompress using system-installed zstd and unzstd","keywords":["zstd","node","typescript","system","compress","decompress"],"author":{"name":"Beeno Tung","email":"aabbcc1241@yahoo.com.hk","url":"https://beeno-tung.surge.sh"},"license":"BSD-2-Clause","main":"dist/cjs/index.js","types":"dist/cjs/index.d.ts","module":"dist/esm/index.js","sideEffects":false,"scripts":{"prepare":"run-p prepare:*","prepare:husky":"husky install","prepare:tslib":"rimraf node_modules/@beenotung/tslib/index.*","clean":"rimraf dist","format":"run-s format:*","format:prettier":"prettier --write .","format:json":"format-json-cli","format:eslint":"eslint --ext .ts --fix .","build":"run-s clean tsc","tsc":"run-p tsc:*","tsc:cjs":"tsc -p tsconfig.cjs.json","tsc:esm":"tsc -p tsconfig.esm.json","test":"run-s format tsc mocha","mocha":"ts-mocha \"{src,test}/**/*.spec.ts\"","coverage":"nyc npm run mocha -- --reporter=progress","report:update":"nyc --reporter=lcov npm run mocha -- --reporter=progress","report:open":"open-cli coverage/lcov-report/index.html","report":"run-s report:update report:open","prepublishOnly":"run-s test build"},"dependencies":{"@beenotung/tslib":"^17.7.2","tslib":"^2.3.1"},"devDependencies":{"@types/chai":"^4.2.22","@types/mocha":"^9.0.0","@types/node":"*","@types/sinon":"^10.0.4","@typescript-eslint/eslint-plugin":"^4.33.0","@typescript-eslint/parser":"^4.33.0","chai":"^4.3.4","eslint":"^7.32.0","format-json-cli":"^1.0.1","husky":"^7.0.2","mocha":"^9.1.2","npm-run-all":"^4.1.5","nyc":"^15.1.0","open-cli":"^7.0.1","prettier":"^2.4.1","rimraf":"^3.0.2","sinon":"^11.1.2","ts-mocha":"^8.0.0","ts-node":"^10.2.1","ts-node-dev":"^1.1.8","typescript":"^4.4.3"},"repository":{"type":"git","url":"git+https://github.com/beenotung/zstd.ts.git"},"bugs":{"url":"https://github.com/beenotung/zstd.ts/issues"},"homepage":"https://github.com/beenotung/zstd.ts#readme","gitHead":"5e0df1c3f5a50de0180c904941ff0ec3abb23d99","_id":"zstd.ts@1.1.2","_nodeVersion":"14.17.0","_npmVersion":"7.24.1","dist":{"integrity":"sha512-FbNGD67sMM0ErN9T+I+fmZW5bo3/LgVRPopEUkWS5RU1rj3zJUfEMbdvwjPqs/EPlV4j5mpA7Gb9xTjSOVOmuw==","shasum":"6815bbda82bb492f9e9b11918009a653b2e58fd9","tarball":"https://registry.npmjs.org/zstd.ts/-/zstd.ts-1.1.2.tgz","fileCount":11,"unpackedSize":28074,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH7T2gRm+oLGTYmLSOxDlFxMrajT1uvkt6GfzxNyUG8BAiEAo9+vKfrGto0bcVUQjvcRa/YO/qXIHoT3ZZxQsh3M3xI="}]},"_npmUser":{"name":"beenotung","email":"aabbcc1241@yahoo.com.hk"},"directories":{},"maintainers":[{"name":"beenotung","email":"aabbcc1241@yahoo.com.hk"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/zstd.ts_1.1.2_1633775935441_0.8495742991961575"},"_hasShrinkwrap":false},"1.1.3":{"name":"zstd.ts","version":"1.1.3","description":"compress and decompress using system-installed zstd and unzstd","keywords":["zstd","node","typescript","system","compress","decompress"],"author":{"name":"Beeno Tung","email":"aabbcc1241@yahoo.com.hk","url":"https://beeno-tung.surge.sh"},"license":"BSD-2-Clause","main":"dist/cjs/index.js","types":"dist/cjs/index.d.ts","module":"dist/esm/index.js","sideEffects":false,"scripts":{"prepare":"run-p prepare:*","prepare:husky":"husky install","clean":"rimraf dist","format":"run-s format:*","format:prettier":"prettier --write .","format:json":"format-json-cli","format:eslint":"eslint --ext .ts --fix .","build":"run-s clean tsc","tsc":"run-p tsc:*","tsc:cjs":"tsc -p tsconfig.cjs.json","tsc:esm":"tsc -p tsconfig.esm.json","test":"run-s format tsc mocha","mocha":"ts-mocha \"{src,test}/**/*.spec.ts\"","coverage":"nyc npm run mocha -- --reporter=progress","report:update":"nyc --reporter=lcov npm run mocha -- --reporter=progress","report:open":"open-cli coverage/lcov-report/index.html","report":"run-s report:update report:open","prepublishOnly":"run-s test build"},"dependencies":{},"devDependencies":{"@types/chai":"^4.2.22","@types/mocha":"^9.0.0","@types/node":"*","@types/sinon":"^10.0.4","@typescript-eslint/eslint-plugin":"^4.33.0","@typescript-eslint/parser":"^4.33.0","chai":"^4.3.4","eslint":"^7.32.0","format-json-cli":"^1.0.1","husky":"^7.0.2","mocha":"^9.1.2","npm-run-all":"^4.1.5","nyc":"^15.1.0","open-cli":"^7.0.1","prettier":"^2.4.1","rimraf":"^3.0.2","sinon":"^11.1.2","ts-mocha":"^8.0.0","ts-node":"^10.2.1","ts-node-dev":"^1.1.8","typescript":"^4.4.3"},"repository":{"type":"git","url":"git+https://github.com/beenotung/zstd.ts.git"},"bugs":{"url":"https://github.com/beenotung/zstd.ts/issues"},"homepage":"https://github.com/beenotung/zstd.ts#readme","gitHead":"14ddb9baf7a1b9ade66944ad13e334d3a44fc7fd","_id":"zstd.ts@1.1.3","_nodeVersion":"14.17.0","_npmVersion":"7.24.1","dist":{"integrity":"sha512-1xlKTD4O/4H2MEQ/McteFAdujc4cHxNZYDRzjxtWfLAimYbPzV7mIa+ZzzJqpN830AuNklVDA6RgHwcop6IZKw==","shasum":"3ddbc625ef499429aa69d423a0fb5892e5af99f5","tarball":"https://registry.npmjs.org/zstd.ts/-/zstd.ts-1.1.3.tgz","fileCount":11,"unpackedSize":27945,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh3C2wCRA9TVsSAnZWagAAM+gP/3Ni2/5PuPJiVpoBT0aQ\nR4euLd0qLaXYxc/bo+KNlQkZfyq08RSzHYzFz7iFxyygbDHwvy+ufMxC+BYb\ntZ3TkeYqz/0yHKjGWxtH0Vb63FEB+uUcd30wLCuGHqTrY1qHNE7RILmAKh3t\n8TL74b5G5bdB+2nuZpPwtdwxD0GOzoO0OKGG96FW1Oudxtf5N18zbLrWspG3\nr0md0U2dIdro4az2fjMv2sqGZ+wmvrhnprOeCbjKaeVbA1idZh8Ys2dC3O3V\nwKacLdJPNw7pwClxS4fHMdmDyVJSenNXh79RfrqmvThCiQBzni4JNT7fuvqG\n+nENEyTiTa7roZ0g9E6SM0RlAou6WorwN7I4Xx7W+hG/EPTPDXunoP7OGBOk\naSN8gSPDnroQAcXYfm/Z2K7sVHp1TeThZ7qAWuXiKpSnrKweEaU50bG0ruS5\n1XatHr5t/e7NCtYV5TAKwH4MbE7cev6dUTZ5FLCglt4NhiJR47AYT2tuSbzl\n4EM13SgFFRSAG5Eb2MEY7yFrV2LVLrrGa4pWdsAgmxGR9XeUT+MSPIqhvSqQ\nQe8tfSO8HDXsL/RFKop9/fomAoFJzJpcMrMJMeu/oU2ladlK80DNC3jaaAs9\npQKrZHPGE4WZzArNBH3fx7LE8qz3/TN2fQL0ZPL/vjd2z8qufteNP3uBGshm\nCVHV\r\n=hAG4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEZ6xKb4gfExeRiKMjNr7DC7QBpfo1U3kpQQwDo3K2YrAiEAleJUAn3AVJHBhgZHgOkr6ma7QdOu9N0jPP8wH9KK7z8="}]},"_npmUser":{"name":"beenotung","email":"aabbcc1241@yahoo.com.hk"},"directories":{},"maintainers":[{"name":"beenotung","email":"aabbcc1241@yahoo.com.hk"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/zstd.ts_1.1.3_1633796533356_0.3849858567459501"},"_hasShrinkwrap":false}},"time":{"created":"2021-10-06T23:54:33.154Z","0.0.0":"2021-10-06T23:54:33.283Z","modified":"2022-05-25T16:42:56.305Z","1.0.0":"2021-10-07T00:50:58.859Z","1.1.0":"2021-10-09T09:29:42.022Z","1.1.1":"2021-10-09T09:32:12.641Z","1.1.2":"2021-10-09T10:38:55.602Z","1.1.3":"2021-10-09T16:22:13.510Z"},"maintainers":[{"name":"beenotung","email":"aabbcc1241@yahoo.com.hk"}],"description":"compress and decompress using system-installed zstd and unzstd","homepage":"https://github.com/beenotung/zstd.ts#readme","keywords":["zstd","node","typescript","system","compress","decompress"],"repository":{"type":"git","url":"git+https://github.com/beenotung/zstd.ts.git"},"author":{"name":"Beeno Tung","email":"aabbcc1241@yahoo.com.hk","url":"https://beeno-tung.surge.sh"},"bugs":{"url":"https://github.com/beenotung/zstd.ts/issues"},"license":"BSD-2-Clause","readme":"# zstd.ts\n\ncompress and decompress using system-installed zstd and unzstd\n\n[![npm Package Version](https://img.shields.io/npm/v/zstd.ts.svg?maxAge=3600)](https://www.npmjs.com/package/zstd.ts)\n\n# Features\n\n- [x] Typescript support\n- [x] Support sync mode\n- [x] Support async mode\n- [x] Tested with mocha\n- [x] No dependency on other packages\n\n# Usage Example\n\n```typescript\nimport { compress, decompress } from 'zstd.ts'\nimport { compressSync, decompressSync } from 'zstd.ts'\n\nlet compressed: Buffer = compressSync({ input: 'test' })\nlet uncompressed: Buffer = decompressSync({ input: compressed })\nlet matched = uncompressed.toString() == 'test'\nconsole.log(matched) // true\n```\n\n# Typescript Signature\n\n```typescript\nexport type CompressOptions = {\n  compressLevel?: number // range: 1 - 19 (default level is 3)\n  input: string | Buffer\n}\n\nexport function compressSync(options: CompressOptions): Buffer\n\nexport function compress(options: CompressOptions): Promise<Buffer>\nexport function compress(\n  options: CompressOptions,\n  callback: (error: any, buffer: Buffer) => void,\n): void\n\nexport type DecompressOptions = {\n  input: Buffer\n}\n\nexport function decompressSync(options: DecompressOptions): Buffer\n\nexport function decompress(options: DecompressOptions): Promise<Buffer>\nexport function decompress(\n  options: DecompressOptions,\n  callback: (error: any, buffer: Buffer) => void,\n): void\n```\n\n## License\n\nThis project is licensed with [BSD-2-Clause](./LICENSE)\n\nThis is free, libre, and open-source software. It comes down to four essential freedoms [[ref]](https://seirdy.one/2021/01/27/whatsapp-and-the-domestication-of-users.html#fnref:2):\n\n- The freedom to run the program as you wish, for any purpose\n- The freedom to study how the program works, and change it so it does your computing as you wish\n- The freedom to redistribute copies so you can help others\n- The freedom to distribute copies of your modified versions to others\n","readmeFilename":"README.md"}