{"_id":"simple-zstd","_rev":"3290833","name":"simple-zstd","description":"Node.js interface to the system installed zstd.","dist-tags":{"latest":"1.4.2","next":"2.0.0-0"},"maintainers":[{"name":"stieneee","email":""}],"time":{"modified":"2024-05-23T06:51:06.000Z","created":"2019-06-17T15:35:57.771Z","1.4.2":"2022-10-19T02:29:06.699Z","1.4.1":"2022-10-19T02:25:45.702Z","2.0.0-0":"2022-08-07T18:07:49.065Z","1.4.0":"2021-09-03T22:22:25.620Z","1.3.1":"2021-07-07T21:22:40.396Z","1.3.0":"2021-03-31T04:52:28.124Z","1.1.2":"2020-05-08T20:42:53.399Z","1.1.1":"2019-09-23T21:28:31.522Z","1.1.0":"2019-08-08T14:54:45.902Z","1.0.1":"2019-06-27T04:14:48.881Z","1.0.0":"2019-06-17T15:35:57.771Z"},"users":{},"author":{"name":"Tyler Stiene","email":"tystiene@gmail.com","url":"https://tylerstiene.ca"},"repository":{"type":"git","url":"git+https://github.com/Stieneee/simple-zstd.git"},"versions":{"1.4.2":{"name":"simple-zstd","version":"1.4.2","description":"Node.js interface to the system installed zstd.","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/Stieneee/simple-zstd.git"},"keywords":["zstd","zstandard","compress","compression","decompress","decompression","stream","pipe","pkg","gzip-maybe","maybe","decompress-maybe"],"author":{"name":"Tyler Stiene","email":"tystiene@gmail.com","url":"https://tylerstiene.ca"},"contributors":[{"name":"Joshua Barkovic","email":"joshbarkovic@gmail.com","url":"https://github.com/jbarkovic"}],"license":"MIT","bugs":{"url":"https://github.com/Stieneee/simple-zstd/issues"},"homepage":"https://github.com/Stieneee/simple-zstd#readme","devDependencies":{"brake":"^1.0.1","chai":"^4.3.6","chai-as-promised":"^7.1.1","chai-fs":"^2.0.0","eslint":"^8.25.0","eslint-config-airbnb-base":"^15.0.0","eslint-plugin-import":"^2.26.0","mocha":"^10.1.0","release-it":"^15.5.0"},"dependencies":{"is-zst":"^1.0.0","peek-stream":"^1.1.3","process-streams":"^1.0.1","through2":"^4.0.2"},"gitHead":"ed685d045b10e0d7d6090265c32ae4f98a3bf487","_id":"simple-zstd@1.4.2","_nodeVersion":"18.9.1","_npmVersion":"8.10.0","dist":{"shasum":"4f5b7b05dfd2930b03092eb0c0cd13a44bad4b34","size":28361,"noattachment":false,"key":"/simple-zstd/-/simple-zstd-1.4.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/simple-zstd/download/simple-zstd-1.4.2.tgz"},"_npmUser":{"name":"stieneee","email":"tystiene@gmail.com"},"directories":{},"maintainers":[{"name":"stieneee","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/simple-zstd_1.4.2_1666146546512_0.25861045325439"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-10-19T02:29:06.699Z","publish_time":1666146546699,"_cnpm_publish_time":1666146546699},"1.4.1":{"name":"simple-zstd","version":"1.4.1","description":"Node.js interface to the system installed zstd.","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/Stieneee/simple-zstd.git"},"keywords":["zstd","zstandard","compress","compression","decompress","decompression","stream","pipe","pkg","gzip-maybe","maybe","decompress-maybe"],"author":{"name":"Tyler Stiene","email":"tystiene@gmail.com","url":"https://tylerstiene.ca"},"contributors":[{"name":"Joshua Barkovic","email":"joshbarkovic@gmail.com","url":"https://github.com/jbarkovic"}],"license":"MIT","bugs":{"url":"https://github.com/Stieneee/simple-zstd/issues"},"homepage":"https://github.com/Stieneee/simple-zstd#readme","devDependencies":{"brake":"^1.0.1","chai":"^4.3.6","chai-as-promised":"^7.1.1","chai-fs":"^2.0.0","eslint":"^8.25.0","eslint-config-airbnb-base":"^15.0.0","eslint-plugin-import":"^2.26.0","mocha":"^10.1.0","release-it":"^15.5.0"},"dependencies":{"is-zst":"^1.0.0","peek-stream":"^1.1.3","process-streams":"^1.0.1","through2":"^4.0.2"},"gitHead":"616b282483dad20376b8476c94bd76bfbfe5749e","_id":"simple-zstd@1.4.1","_nodeVersion":"18.9.1","_npmVersion":"8.10.0","dist":{"shasum":"afe22475f928a5e7b4fcd5ab374280b04b201ec5","size":28361,"noattachment":false,"key":"/simple-zstd/-/simple-zstd-1.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/simple-zstd/download/simple-zstd-1.4.1.tgz"},"_npmUser":{"name":"stieneee","email":"tystiene@gmail.com"},"directories":{},"maintainers":[{"name":"stieneee","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/simple-zstd_1.4.1_1666146345560_0.44296302303449697"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-10-19T02:25:45.702Z","publish_time":1666146345702,"_cnpm_publish_time":1666146345702},"2.0.0-0":{"name":"simple-zstd","version":"2.0.0-0","description":"Node.js interface to the system installed zstd.","main":"index.js","scripts":{"test":"mocha","test-debug":"DEBUG=SimpleZSTD,SimpleZSTDQueue mocha","test-ci":"mocha --exit","coverage":"nyc --reporter=html --reporter=text npm run test"},"repository":{"type":"git","url":"git+https://github.com/Stieneee/simple-zstd.git"},"keywords":["zstd","zstandard","compress","compression","decompress","decompression","stream","pipe","pkg","gzip-maybe","maybe","decompress-maybe"],"author":{"name":"Tyler Stiene","email":"tystiene@gmail.com","url":"https://tylerstiene.ca"},"contributors":[{"name":"Joshua Barkovic","email":"joshbarkovic@gmail.com","url":"https://github.com/jbarkovic"}],"license":"MIT","bugs":{"url":"https://github.com/Stieneee/simple-zstd/issues"},"homepage":"https://github.com/Stieneee/simple-zstd#readme","devDependencies":{"brake":"^1.0.1","chai":"^4.3.6","chai-as-promised":"^7.1.1","chai-fs":"^2.0.0","eslint":"^8.19.0","eslint-config-airbnb-base":"^15.0.0","eslint-plugin-import":"^2.26.0","mocha":"^10.0.0","mocker-data-generator":"^2.12.0","release-it":"^15.1.1"},"dependencies":{"debug":"^4.3.4","is-zst":"^1.0.0","nyc":"^15.1.0","peek-stream":"^1.1.3","process-streams":"^1.0.1","through2":"^4.0.2","tmp":"^0.2.1","tmp-promise":"^3.0.3"},"readmeFilename":"README.md","gitHead":"e00bc65cc30342ecc80b47ba052b0790b3fcbe6e","_id":"simple-zstd@2.0.0-0","_nodeVersion":"16.16.0","_npmVersion":"8.1.4","dist":{"shasum":"947f3f339c8e3a6cda26fa13a5062f2c2366bf18","size":31579,"noattachment":false,"key":"/simple-zstd/-/simple-zstd-2.0.0-0.tgz","tarball":"http://registry.cnpm.dingdandao.com/simple-zstd/download/simple-zstd-2.0.0-0.tgz"},"_npmUser":{"name":"stieneee","email":"tystiene@gmail.com"},"directories":{},"maintainers":[{"name":"stieneee","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/simple-zstd_2.0.0-0_1659895668866_0.8270103050090722"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-08-07T18:07:52.410Z","publish_time":1659895669065,"_cnpm_publish_time":1659895669065},"1.4.0":{"name":"simple-zstd","version":"1.4.0","description":"Node.js interface to the system installed zstd.","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/Stieneee/simple-zstd.git"},"keywords":["zstd","zstandard","compress","compression","decompress","decompression","stream","pipe","pkg","gzip-maybe","maybe","decompress-maybe"],"author":{"name":"Tyler Stiene","email":"tystiene@gmail.com","url":"https://tylerstiene.ca"},"contributors":[{"name":"Joshua Barkovic","email":"joshbarkovic@gmail.com","url":"https://github.com/jbarkovic"}],"license":"MIT","bugs":{"url":"https://github.com/Stieneee/simple-zstd/issues"},"homepage":"https://github.com/Stieneee/simple-zstd#readme","devDependencies":{"brake":"^1.0.1","chai":"^4.3.4","chai-as-promised":"^7.1.1","chai-fs":"^2.0.0","eslint":"^7.32.0","eslint-config-airbnb-base":"^14.2.1","eslint-plugin-import":"^2.24.2","mocha":"^9.1.0","release-it":"^14.11.5"},"dependencies":{"is-zst":"^1.0.0","peek-stream":"^1.1.3","process-streams":"^1.0.1","through2":"^4.0.2"},"gitHead":"50e7be300241a9233223d0a23f03a6d358b5946b","_id":"simple-zstd@1.4.0","_nodeVersion":"14.17.5","_npmVersion":"7.20.1","dist":{"shasum":"b8fba1b1b41aa43183263f4c960a9c63899d4cb6","size":3070,"noattachment":false,"key":"/simple-zstd/-/simple-zstd-1.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/simple-zstd/download/simple-zstd-1.4.0.tgz"},"_npmUser":{"name":"stieneee","email":"tystiene@gmail.com"},"directories":{},"maintainers":[{"name":"stieneee","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/simple-zstd_1.4.0_1630707745512_0.2926988145605509"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T22:34:38.667Z","publish_time":1630707745620,"_cnpm_publish_time":1630707745620},"1.3.1":{"name":"simple-zstd","version":"1.3.1","description":"Node.js interface to the system installed zstd.","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/Stieneee/simple-zstd.git"},"keywords":["zstd","zstandard","compress","compression","decompress","decompression","stream","pipe","pkg","gzip-maybe","maybe","decompress-maybe"],"author":{"name":"Tyler Stiene","email":"tystiene@gmail.com","url":"https://tylerstiene.ca"},"contributors":[{"name":"Joshua Barkovic","email":"joshbarkovic@gmail.com","url":"https://github.com/jbarkovic"}],"license":"MIT","bugs":{"url":"https://github.com/Stieneee/simple-zstd/issues"},"homepage":"https://github.com/Stieneee/simple-zstd#readme","devDependencies":{"brake":"^1.0.1","chai":"^4.3.4","chai-fs":"^2.0.0","eslint":"^7.30.0","eslint-config-airbnb-base":"^14.2.1","eslint-plugin-import":"^2.23.4","mocha":"^9.0.2","release-it":"^14.10.0"},"dependencies":{"is-zst":"^1.0.0","peek-stream":"^1.1.3","process-streams":"^1.0.1","through2":"^4.0.2"},"gitHead":"05ad9474078dfe1969250400ca6488dedcdc50e2","_id":"simple-zstd@1.3.1","_nodeVersion":"14.17.1","_npmVersion":"7.5.4","dist":{"shasum":"1142e23261c3bd2d52ecda85a05cbb8660403b3e","size":2862,"noattachment":false,"key":"/simple-zstd/-/simple-zstd-1.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/simple-zstd/download/simple-zstd-1.3.1.tgz"},"_npmUser":{"name":"stieneee","email":"tystiene@gmail.com"},"directories":{},"maintainers":[{"name":"stieneee","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/simple-zstd_1.3.1_1625692960216_0.47235465681989397"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T22:34:37.811Z","publish_time":1625692960396,"_cnpm_publish_time":1625692960396},"1.3.0":{"name":"simple-zstd","version":"1.3.0","description":"Node.js interface to the system installed zstd.","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/Stieneee/simple-zstd.git"},"keywords":["zstd","zstandard","compress","compression","decompress","decompression","stream","pipe","pkg","gzip-maybe","maybe","decompress-maybe"],"author":{"name":"Tyler Stiene","email":"tystiene@gmail.com","url":"https://tylerstiene.ca"},"contributors":[{"name":"Joshua Barkovic","email":"joshbarkovic@gmail.com","url":"https://github.com/jbarkovic"}],"license":"MIT","bugs":{"url":"https://github.com/Stieneee/simple-zstd/issues"},"homepage":"https://github.com/Stieneee/simple-zstd#readme","devDependencies":{"brake":"^1.0.1","chai":"^4.3.4","chai-fs":"^2.0.0","eslint":"^7.23.0","eslint-config-airbnb-base":"^14.2.1","eslint-plugin-import":"^2.22.1","mocha":"^8.3.2","release-it":"^14.5.0"},"dependencies":{"is-zst":"^1.0.0","peek-stream":"^1.1.3","process-streams":"^1.0.1","through2":"^4.0.2"},"gitHead":"00dc7ab4ba5dd9bf596949c795d82c42e82d0cc0","_id":"simple-zstd@1.3.0","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"shasum":"213ad2f70e2d839bb00c67e6756c7f950107cfe5","size":2857,"noattachment":false,"key":"/simple-zstd/-/simple-zstd-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/simple-zstd/download/simple-zstd-1.3.0.tgz"},"_npmUser":{"name":"stieneee","email":"tystiene@gmail.com"},"directories":{},"maintainers":[{"name":"stieneee","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/simple-zstd_1.3.0_1617166347908_0.3154247484045496"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T22:34:36.929Z","publish_time":1617166348124,"_cnpm_publish_time":1617166348124},"1.1.2":{"name":"simple-zstd","version":"1.1.2","description":"Node.js interface to the system installed zstd.","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/Stieneee/simple-zstd.git"},"keywords":["zstd","zstandard","compress","compression","decompress","decompression","stream","pipe","pkg","gzip-maybe","maybe","decompress-maybe"],"author":{"name":"Tyler Stiene","email":"tystiene@gmail.com","url":"https://tylerstiene.ca"},"contributors":[{"name":"Joshua Barkovic","email":"joshbarkovic@gmail.com","url":"https://github.com/jbarkovic"}],"license":"MIT","bugs":{"url":"https://github.com/Stieneee/simple-zstd/issues"},"homepage":"https://github.com/Stieneee/simple-zstd#readme","devDependencies":{"brake":"^1.0.1","chai":"^4.2.0","chai-fs":"^2.0.0","eslint":"^6.8.0","eslint-config-airbnb-base":"^14.1.0","eslint-plugin-import":"^2.20.2","mocha":"^7.1.2","release-it":"^12.4.1"},"dependencies":{"process-streams":"^1.0.1","is-zst":"^1.0.0","peek-stream":"^1.1.3","through2":"^3.0.1"},"gitHead":"26c5b4728352a99792cfa1c79ad6f84f2d820fce","_id":"simple-zstd@1.1.2","_nodeVersion":"10.20.1","_npmVersion":"6.14.5","dist":{"shasum":"23a5e2d6349b7017163d7701046bb7182b321796","size":2845,"noattachment":false,"key":"/simple-zstd/-/simple-zstd-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/simple-zstd/download/simple-zstd-1.1.2.tgz"},"maintainers":[{"name":"stieneee","email":""}],"_npmUser":{"name":"stieneee","email":"tystiene@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/simple-zstd_1.1.2_1588970573212_0.28546912318947837"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T22:34:36.039Z","publish_time":1588970573399,"_cnpm_publish_time":1588970573399},"1.1.1":{"name":"simple-zstd","version":"1.1.1","description":"Node.js interface to the system installed zstd.","main":"index.js","scripts":{"test":"node test/test.js"},"repository":{"type":"git","url":"git+https://github.com/Stieneee/simple-zstd.git"},"keywords":["zstd","zstandard","compress","compression","decompress","decompression","stream","pipe","pkg","gzip-maybe","maybe","decompress-maybe"],"author":{"name":"Tyler Stiene","email":"tystiene@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/Stieneee/simple-zstd/issues"},"homepage":"https://github.com/Stieneee/simple-zstd#readme","devDependencies":{"eslint":"^6.4.0","eslint-config-airbnb-base":"^14.0.0","eslint-plugin-import":"^2.18.2","release-it":"^12.4.1"},"dependencies":{"duplex-child-process":"^1.0.0","is-zst":"^1.0.0","peek-stream":"^1.1.3","through2":"^3.0.1"},"gitHead":"c113a4528ff38f6ea3a8264b32244448a80f05d0","_id":"simple-zstd@1.1.1","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"shasum":"d9c95de35a89d6429b2636bae2b7751f7433e1f4","size":2663,"noattachment":false,"key":"/simple-zstd/-/simple-zstd-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/simple-zstd/download/simple-zstd-1.1.1.tgz"},"maintainers":[{"name":"stieneee","email":""}],"_npmUser":{"name":"stieneee","email":"tystiene@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/simple-zstd_1.1.1_1569274111390_0.886591167533574"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T22:34:35.177Z","publish_time":1569274111522,"_cnpm_publish_time":1569274111522},"1.1.0":{"name":"simple-zstd","version":"1.1.0","description":"Node.js interface to the system installed zstd.","main":"index.js","scripts":{"test":"node test/test.js"},"repository":{"type":"git","url":"git+https://github.com/Stieneee/simple-zstd.git"},"keywords":["zstd","zstandard","compress","compression","decompress","decompression","stream","pipe","pkg","gzip-maybe","maybe","decompress-maybe"],"author":{"name":"Tyler Stiene","email":"tystiene@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/Stieneee/simple-zstd/issues"},"homepage":"https://github.com/Stieneee/simple-zstd#readme","devDependencies":{"eslint":"^6.1.0","eslint-config-airbnb-base":"^13.2.0","eslint-plugin-import":"^2.18.2","release-it":"^12.3.5"},"dependencies":{"duplex-child-process":"^1.0.0","is-zst":"^1.0.0","peek-stream":"^1.1.3","through2":"^3.0.1"},"gitHead":"70d39bb09fe37ccf4d16c21bdf5257ea448ba95f","_id":"simple-zstd@1.1.0","_nodeVersion":"10.16.1","_npmVersion":"6.10.2","dist":{"shasum":"e34d925ba68a7e751e98fd69908501121b84f925","size":2652,"noattachment":false,"key":"/simple-zstd/-/simple-zstd-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/simple-zstd/download/simple-zstd-1.1.0.tgz"},"maintainers":[{"name":"stieneee","email":""}],"_npmUser":{"name":"stieneee","email":"tystiene@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/simple-zstd_1.1.0_1565276085787_0.16564647456834947"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T22:34:34.312Z","publish_time":1565276085902,"_cnpm_publish_time":1565276085902},"1.0.1":{"name":"simple-zstd","version":"1.0.1","description":"Node.js interface to the system installed zstd.","main":"index.js","scripts":{"test":"node test/test.js"},"repository":{"type":"git","url":"git+https://github.com/Stieneee/simple-zstd.git"},"keywords":["zstd","zstandard","compress","compression","decompress","decompression","stream","pipe","pkg"],"author":{"name":"Tyler Stiene","email":"tystiene@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/Stieneee/simple-zstd/issues"},"homepage":"https://github.com/Stieneee/simple-zstd#readme","devDependencies":{"eslint":"^5.16.0","eslint-config-airbnb-base":"^13.1.0","eslint-plugin-import":"^2.17.3","release-it":"^12.3.0"},"dependencies":{"duplex-child-process":"^1.0.0"},"gitHead":"08a739f6b49f8588d299e136acd8c8c0fd037ab5","_id":"simple-zstd@1.0.1","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"shasum":"ec63f040c641dfbe52db465cc993abb6b341d2a2","size":6563,"noattachment":false,"key":"/simple-zstd/-/simple-zstd-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/simple-zstd/download/simple-zstd-1.0.1.tgz"},"maintainers":[{"name":"stieneee","email":""}],"_npmUser":{"name":"stieneee","email":"tystiene@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/simple-zstd_1.0.1_1561608888718_0.6334333400159691"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T22:34:33.231Z","publish_time":1561608888881,"_cnpm_publish_time":1561608888881},"1.0.0":{"name":"simple-zstd","version":"1.0.0","description":"Node.js interface to the system installed zstd.","main":"index.js","scripts":{"test":"node test/test.js"},"repository":{"type":"git","url":"git+https://github.com/Stieneee/simple-zstd.git"},"keywords":["zstd","zstandard","compress","compression","decompress","decompression","stream","pipe","pkg"],"author":{"name":"Tyler Stiene","email":"tystiene@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/Stieneee/simple-zstd/issues"},"homepage":"https://github.com/Stieneee/simple-zstd#readme","devDependencies":{"eslint":"^5.16.0","eslint-config-airbnb-base":"^13.1.0","eslint-plugin-import":"^2.17.3","release-it":"^12.3.0"},"dependencies":{"duplex-child-process":"^1.0.0"},"gitHead":"d2692e75ed165b4c9d70b8cf2510c46e7e9c288f","_id":"simple-zstd@1.0.0","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"shasum":"3d3014f990a1d9f6a0c6f5c0dcb0814c797b4661","size":6569,"noattachment":false,"key":"/simple-zstd/-/simple-zstd-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/simple-zstd/download/simple-zstd-1.0.0.tgz"},"maintainers":[{"name":"stieneee","email":""}],"_npmUser":{"name":"stieneee","email":"tystiene@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/simple-zstd_1.0.0_1560785757683_0.9288117004170358"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T22:34:32.366Z","publish_time":1560785757771,"_cnpm_publish_time":1560785757771}},"readme":"# simple-zstd\n\n[![Build Status](https://travis-ci.org/Stieneee/simple-zstd.svg?branch=master)](https://travis-ci.org/Stieneee/simple-zstd)\n[![Package Size Size](https://badgen.net/badge/packagephobia/install/simple-zstd)](https://packagephobia.now.sh/result?p=simple-zstd)\n[![License](https://badgen.net/badge/license/MIT/blue)](https://choosealicense.com/licenses/mit/)\n\nNode.js interface to system installed zstandard (zstd).\n\n## Why Another ZSTD Package\n\nOther packages were either using out-of-date ZSTD versions or depended on native C bindings that required a compilation step during installation.\nA package was needed that would cleanly work with [pkg](https://www.npmjs.com/package/pkg).\n\n## Dependencies\n\nZSTD\n\nExample:\n\n`sudo apt install zstd`\n\n## Installation\n\n`npm i simple-zstd`\n\n## Usage\n\nsimple-zstd exposes a stream interfaces for compression and decompression.\nThe underlying child process is destroyed with the stream.\n\nstream = ZSTDCompress(lvl)\nlvl - ZSTD compression level\n\nstream = ZSTDDecompress()\n\nstream = ZSTDDecompressMaybe()\n\n### Example\n\n```javascript\nconst fs = require('fs');\nconst {ZSTDCompress, ZSTDDecompress} = require('simple-zstd');\n\n// ZSTDCompress(compressionLevel, streamOptions)\n// ZSTDDecompress(streamOptions)\n\nfs.createReadStream('example.txt')\n  .pipe(ZSTDCompress(3))\n  .pipe(ZSTDDecompress())\n  .pipe(fs.createWriteStream('example_copy.txt'))\n  .on('error', (err) => {\n    //..\n  })\n  .on('finish', () => {\n    console.log('Copy Complete!');\n  })\n\n  // -> Copy Complete\n```\n\n### Decompress Maybe\n\nA maybe variant of decompress will pass-through a non-zst stream while decompressing a zst stream.\n\n```javascript\nconst fs = require('fs');\nconst {ZSTDDecompressMaybe} = require('simple-zstd');\n\n// ZSTDDecompressMaybe(spawnOptions, streamOptions, zstdOptions)\n\nfs.createReadStream('example.txt')\n  // .pipe(ZSTDCompress(3))\n  .pipe(ZSTDDecompressMaybe())\n  .pipe(fs.createWriteStream('example_copy.txt'))\n  .on('error', (err) => {\n    //..\n  })\n  .on('finish', () => {\n    console.log('Copy Complete!');\n  })\n\n  // -> Copy Complete\n```\n\n## Contributing\n\nPull requests are welcome.\n\n## License\n\nMIT License\n\nCopyright (c) 2020 Tyler Stiene\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_attachments":{},"homepage":"https://github.com/Stieneee/simple-zstd#readme","bugs":{"url":"https://github.com/Stieneee/simple-zstd/issues"},"license":"MIT"}