-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
1 lines (1 loc) · 2.34 KB
/
package.json
1
{"name":"zlib-browserify","version":"0.0.3","description":"Wrapper for zlib.js to allow for browserifyication","main":"index.js","directories":{"test":"test"},"dependencies":{"tape":"~0.2.2"},"devDependencies":{"tap":"~0.3.3"},"scripts":{"test":"./node_modules/.bin/tap test/*.test.js"},"repository":{"type":"git","url":"git://github.com/brianloveswords/zlib-browserify.git"},"keywords":["zlib","browserify"],"author":{"name":"Brian J. Brennan"},"license":"MIT","gitHead":"4be9419f0e8e9dec9629c8a538b33a4efd7df17b","readmeFilename":"readme.md","readme":"# zlib-browserify [![Build Status](https://travis-ci.org/brianloveswords/zlib-browserify.png?branch=master)](https://travis-ci.org/brianloveswords/zlib-browserify)\n\nZlib in yo' browser.\n\n# What is this?\n\nThis is a very small wrapper for https://github.com/imaya/zlib.js. Fixes\nsome very minor API inconsistencies. Only implements `inflate`,\n`deflate`, `gzip` and `gunzip` so if you're doing anything extra fancy\nyou're out of luck for now.\n\n# Run tests\n\n```bash\n$ npm test\n```\n\n# Test methodology (a.k.a, \"why doesn't the output match node's zlib?\")\n\n(zlibA = native, zlibB = browserified)\n\nPretending these are sync, I do the following to test:\n\n```js\nassert(zlibB.inflate(zlibA.deflate('test')) === \"test\");\nassert(zlibA.inflate(zlibB.deflate('test')) === \"test\");\n...\n```\n\nand so on for each of the methods supported. Note, I do **not** do \n\n```js\nassert(zlibA.deflate('test') === zlibB.deflate('test'));\n```\n\nBecause node's deflate and the imaya's version do not seem to use the\nsame defaults for compression level. I haven't figured out how to change\nit yet. Anyway, rest assured, while `deflate` does not return the same\noutput, this is fully interoperable with node's native zlib.\n\n# License\n\nMIT\n","bugs":{"url":"https://github.com/brianloveswords/zlib-browserify/issues"},"_id":"zlib-browserify@0.0.3","dist":{"shasum":"240ccdbfd0203fa842b130deefb1414122c8cc50","tarball":"http://registry.npmjs.org/zlib-browserify/-/zlib-browserify-0.0.3.tgz"},"_from":"zlib-browserify@^0.0.3","_npmVersion":"1.3.8","_npmUser":{"name":"brianloveswords","email":"brianloveswords@gmail.com"},"maintainers":[{"name":"brianloveswords","email":"brian@nyhacker.org"}],"_shasum":"240ccdbfd0203fa842b130deefb1414122c8cc50","_resolved":"https://registry.npmjs.org/zlib-browserify/-/zlib-browserify-0.0.3.tgz"}