{"_id":"popsicle-content-encoding","_rev":"1-1fd0b8e2ff6d404c2768dd710831ce04","name":"popsicle-content-encoding","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"popsicle-content-encoding","version":"1.0.0","description":"Popsicle middleware for supporting `Content-Encoding` compression","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"prettier":"prettier --write","lint":"tslint \"src/**/*.ts\" --project tsconfig.json","format":"npm run prettier -- README.md \"*.yml\" \"src/**/*.{js,ts}\"","build":"rimraf dist && tsc","specs":"jest --coverage","test":"npm run lint && npm run build && npm run specs","prepare":"npm run build"},"repository":{"type":"git","url":"git://github.com/serviejs/popsicle-content-encoding.git"},"keywords":["popsicle","encoding","compression","zip","brotli","gzip"],"author":{"name":"Blake Embrey","email":"hello@blakeembrey.com","url":"http://blakeembrey.me"},"license":"MIT","bugs":{"url":"https://github.com/serviejs/popsicle-content-encoding/issues"},"homepage":"https://github.com/serviejs/popsicle-content-encoding","jest":{"roots":["<rootDir>/src/"],"transform":{"\\.tsx?$":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(tsx?|jsx?)$","moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{js,json,css,md}":["npm run prettier","git add"]},"publishConfig":{"access":"public"},"peerDependencies":{"servie":"^4.0.0"},"devDependencies":{"@types/jest":"^24.0.13","@types/node":"^12.0.7","husky":"^2.4.0","jest":"^24.8.0","lint-staged":"^8.2.0","prettier":"^1.18.2","servie":"^4.0.10","ts-jest":"^24.0.2","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","tslint-config-standard":"^8.0.1","typescript":"^3.5.1"},"gitHead":"c12c20e458136277fbcf4755e3e12c393699f542","_id":"popsicle-content-encoding@1.0.0","_nodeVersion":"12.3.1","_npmVersion":"6.9.0","dist":{"integrity":"sha512-4Df+vTfM8wCCJVTzPujiI6eOl3SiWQkcZg0AMrOkD1enMXsF3glIkFUZGvour1Sj7jOWCsNSEhBxpbbhclHhzw==","shasum":"2ab419083fee0387bf6e64d21b1a9af560795adb","tarball":"https://registry.npmjs.org/popsicle-content-encoding/-/popsicle-content-encoding-1.0.0.tgz","fileCount":9,"unpackedSize":11751,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc/yksCRA9TVsSAnZWagAAhvcP/A2koWVtIRNkiHlZCMre\nP7KTMRzgQD8H654dMmgTLvzuEmTt0X9+mJquTddyP2wapxSiNAtt14wrIFrv\nlz+23JgRJypCTmLo7XwgIncNZtntf7BDFJM6Z7qvwnRCPI0byFr7Fg3FIImh\nQeIAW6wyLTmZQggd+xW0x5++yYn+wmgWx3Qg9QsMu2HDGYfHS8P+u7IDu1NJ\nKDgv4f+PhsU03s/M4+Yllu+3xVYoU0bhVA40kDcbUSD5gro06amAE5veqWeN\nBt1CUx/te5eCjcG5s0gCVDBbCSqXBGlXVYMrusqtYoQnmVv1JvTkTILPhB4m\nqnW9RaxBpcnWE85RpbfgIUHMhs/LQCv/KCk4dK2b7Zm7PWIf1hAliZQ5maPQ\nrA/IReT5ckhf6uLFGmigOAGAiOLMKzl7GPttsI+uBEZypHzV+MW2oklMEKWY\ntEBMt7cTK3FWBU/KsqActg4J/CnPx9d2H0B0shyHMjA8aObgndNr7zyadVZx\nxEg6OMCJx/nM1MQwhzfO88IGHarJPMGCUE50PaJR7VZPD86X6ZbZHttbMx63\nyoTTfqVZ3ChtTlevDzvr2zidRwIld5E/7eEObjuFOuYOYWPZBJmXI7NtOo/7\nH+bYEpRRcNzxEdFgEnXEPQb4VKp1YjohjuXxMystz7D5LnBctiCmegfKv8M1\nnBjl\r\n=bHK9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDtUJPxzH2KpP1a9npRCYTpkifNIhj7BvhI1KNx1YpJiAIhAL1phJ8on/14VlNLhJnE/qXYEGzm7VzyeryCYHfxOz7U"}]},"maintainers":[{"name":"blakeembrey","email":"hello@blakeembrey.com"}],"_npmUser":{"name":"blakeembrey","email":"hello@blakeembrey.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/popsicle-content-encoding_1.0.0_1560226091603_0.2286624666103263"},"_hasShrinkwrap":false}},"time":{"created":"2019-06-11T04:08:11.573Z","1.0.0":"2019-06-11T04:08:11.760Z","modified":"2022-05-13T05:24:18.226Z"},"maintainers":[{"name":"blakeembrey","email":"hello@blakeembrey.com"}],"description":"Popsicle middleware for supporting `Content-Encoding` compression","homepage":"https://github.com/serviejs/popsicle-content-encoding","keywords":["popsicle","encoding","compression","zip","brotli","gzip"],"repository":{"type":"git","url":"git://github.com/serviejs/popsicle-content-encoding.git"},"author":{"name":"Blake Embrey","email":"hello@blakeembrey.com","url":"http://blakeembrey.me"},"bugs":{"url":"https://github.com/serviejs/popsicle-content-encoding/issues"},"license":"MIT","readme":"# Popsicle Content Encoding\n\n[![NPM version][npm-image]][npm-url]\n[![NPM downloads][downloads-image]][downloads-url]\n[![Build status][travis-image]][travis-url]\n[![Test coverage][coveralls-image]][coveralls-url]\n\n> Popsicle middleware for supporting `Content-Encoding` compression.\n\n## Installation\n\n```\nnpm install popsicle-content-encoding --save\n```\n\n## Usage\n\n```js\nimport { contentEncoding } from \"popsicle-content-encoding\";\n\nconst middleware = compose([contentEncoding(), transport()]);\n```\n\nAutomatically populates `Accept-Encoding` based on node.js supported decompression algorithms, then decodes the matching response body. Does nothing if `Accept-Encoding` is already set.\n\n## TypeScript\n\nThis project is written using [TypeScript](https://github.com/Microsoft/TypeScript) and publishes the definitions directly to NPM.\n\n## License\n\nMIT\n\n[npm-image]: https://img.shields.io/npm/v/popsicle-content-encoding.svg?style=flat\n[npm-url]: https://npmjs.org/package/popsicle-content-encoding\n[downloads-image]: https://img.shields.io/npm/dm/popsicle-content-encoding.svg?style=flat\n[downloads-url]: https://npmjs.org/package/popsicle-content-encoding\n[travis-image]: https://img.shields.io/travis/serviejs/popsicle-content-encoding.svg?style=flat\n[travis-url]: https://travis-ci.org/serviejs/popsicle-content-encoding\n[coveralls-image]: https://img.shields.io/coveralls/serviejs/popsicle-content-encoding.svg?style=flat\n[coveralls-url]: https://coveralls.io/r/serviejs/popsicle-content-encoding?branch=master\n","readmeFilename":"README.md"}