-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
executable file
·56 lines (56 loc) · 2.62 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"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": "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",
"homepage": "https://github.com/brianloveswords/zlib-browserify"
}