{"_id":"superagent-charset","_rev":"12-2859a65da4e62cf8c702a71c94e7e1bb","name":"superagent-charset","description":"add charset support for node's superagent","dist-tags":{"latest":"1.2.0"},"versions":{"0.0.1":{"name":"superagent-charset","version":"0.0.1","description":"add charset support for node's superagent","main":"index.js","dependencies":{"iconv-lite":"^0.4.6"},"peerDependencies":{"superagent":"*"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git@github.com:magicdawn/superagent-charset.git"},"keywords":["superagent","encoding","charset","gbk","gb2312","iconv"],"author":{"name":"magicdawn"},"license":"MIT","bugs":{"url":"https://github.com/magicdawn/superagent-charset/issues"},"homepage":"https://github.com/magicdawn/superagent-charset","gitHead":"ea0e09e46a6556a7f5c6b8002bda01ef730cd080","_id":"superagent-charset@0.0.1","_shasum":"4b6448769c5cf86fbff6f719416e97bc7e4fa6bd","_from":".","_npmVersion":"2.1.18","_nodeVersion":"1.0.1","_npmUser":{"name":"magicdawn","email":"784876393@qq.com"},"maintainers":[{"name":"magicdawn","email":"784876393@qq.com"}],"dist":{"shasum":"4b6448769c5cf86fbff6f719416e97bc7e4fa6bd","tarball":"https://registry.npmjs.org/superagent-charset/-/superagent-charset-0.0.1.tgz","integrity":"sha512-DHoCuK+gT5CcPM83TgxsqbbAaCtwuSyH1d5e0yR/cTGQMzOTij6dC0NZoPbda0+uHIyuUe5D7LMAzaQH758tcA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBnkmdR6PnUzksUgLmuzTDPa7j2yKfMXlVW6avPgHkS1AiBUkmMoAOWUhH/0d5pzONM274pwfAoS3c+G9rU9Jc7oSA=="}]}},"0.0.2":{"name":"superagent-charset","version":"0.0.2","description":"add charset support for node's superagent","main":"index.js","dependencies":{"iconv-lite":"^0.4.6"},"peerDependencies":{"superagent":"^1.3.0"},"scripts":{"test":"mocha -R spec","test-cover":"istanbul cover ./node_modules/.bin/_mocha -- -R spec -u exports"},"repository":{"type":"git","url":"git+ssh://git@github.com/magicdawn/superagent-charset.git"},"keywords":["superagent","encoding","charset","gbk","gb2312","iconv"],"author":{"name":"magicdawn"},"license":"MIT","bugs":{"url":"https://github.com/magicdawn/superagent-charset/issues"},"homepage":"https://github.com/magicdawn/superagent-charset","devDependencies":{"coveralls":"^2.11.3","istanbul":"^0.3.17","mocha":"^2.2.5","should":"^7.0.2"},"gitHead":"24bd881f592e25f4e16b2e72a5f1b571352d732d","_id":"superagent-charset@0.0.2","_shasum":"f5dbab446505a1eb48f9e0e44656c53f68008bec","_from":".","_npmVersion":"2.11.3","_nodeVersion":"2.3.2","_npmUser":{"name":"magicdawn","email":"magicdawn@qq.com"},"dist":{"shasum":"f5dbab446505a1eb48f9e0e44656c53f68008bec","tarball":"https://registry.npmjs.org/superagent-charset/-/superagent-charset-0.0.2.tgz","integrity":"sha512-Eh1ms5nIOCAruON1cp4zCIYIeFgEyzW7dUQPLvToVyNaH3BcV96LaQ+j6jUbAQJck/jS00T00k/gj1KVlz/Jag==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCakUg7WdZmA6xNHXIXg+XYmuEYghrrJKw4PqMv3nLgpgIgL2YZe0dOl1Aw3wbtP3oAR2ukDR16lnDpzukdBILaDOY="}]},"maintainers":[{"name":"magicdawn","email":"784876393@qq.com"}]},"0.1.0":{"name":"superagent-charset","version":"0.1.0","description":"add charset support for node's superagent","main":"index.js","dependencies":{"iconv-lite":"^0.4.6"},"peerDependencies":{"superagent":"^1.3.0"},"scripts":{"test":"mocha -R spec","test-cover":"istanbul cover _mocha -- -R spec -u exports"},"repository":{"type":"git","url":"git+ssh://git@github.com/magicdawn/superagent-charset.git"},"keywords":["superagent","encoding","charset","gbk","gb2312","iconv"],"author":{"name":"magicdawn"},"license":"MIT","bugs":{"url":"https://github.com/magicdawn/superagent-charset/issues"},"homepage":"https://github.com/magicdawn/superagent-charset","devDependencies":{"coveralls":"^2.11.3","istanbul":"^0.3.17","mocha":"^2.2.5","should":"^7.0.2"},"gitHead":"5b42efde776e74baeb8f8e9efac0f9cd51e3b175","_id":"superagent-charset@0.1.0","_shasum":"769fe925a93afe1f2c4e2d525b7dfbd065307ac5","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"magicdawn","email":"magicdawn@qq.com"},"dist":{"shasum":"769fe925a93afe1f2c4e2d525b7dfbd065307ac5","tarball":"https://registry.npmjs.org/superagent-charset/-/superagent-charset-0.1.0.tgz","integrity":"sha512-TBYhFJaSyjm3Anou2HpeuePYTi6tHKP+LCSBUC2C8SGjo2tb2FhkheaU7jCUVwd2QqhPZLbDPFd6KgZhtRtyhA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCZUXE3nnkZRU9WnKg0/ykXsnowUL1scBUzsbnjeslfeQIgfvKcUcr7DHUEunHhRbQ+jOkOWYlJOl4gedgvEXYY62A="}]},"maintainers":[{"name":"magicdawn","email":"784876393@qq.com"}]},"0.1.1":{"name":"superagent-charset","version":"0.1.1","description":"add charset support for node's superagent","main":"index.js","dependencies":{"iconv-lite":"^0.4.6"},"peerDependencies":{"superagent":"^1.3.0"},"scripts":{"test":"mocha -R spec","test-cover":"istanbul cover _mocha -- -R spec -u exports"},"repository":{"type":"git","url":"git+ssh://git@github.com/magicdawn/superagent-charset.git"},"keywords":["superagent","encoding","charset","gbk","gb2312","iconv"],"author":{"name":"magicdawn"},"license":"MIT","bugs":{"url":"https://github.com/magicdawn/superagent-charset/issues"},"homepage":"https://github.com/magicdawn/superagent-charset","devDependencies":{"coveralls":"^2.11.3","istanbul":"^0.3.17","mocha":"^2.2.5","should":"^7.0.2"},"gitHead":"82f22e4cd31b9b7e3469f1792aee9bd181a631bc","_id":"superagent-charset@0.1.1","_shasum":"03fe488f793c457f6bcc881fbfb7abb0d533a44c","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"magicdawn","email":"magicdawn@qq.com"},"dist":{"shasum":"03fe488f793c457f6bcc881fbfb7abb0d533a44c","tarball":"https://registry.npmjs.org/superagent-charset/-/superagent-charset-0.1.1.tgz","integrity":"sha512-3kfohZHTH9avLvwwdnDtJkyjpQXgdXPn869Ja8tgfcs+e8ODNdpYp2/osD2FIe5PYZaW+Rv7AugVPnXcH6NOjw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFTldYkqTuQ7vatpxZhuEyr2MDPojybwcXkGaTg2YMScAiAyJ244H7d6Ia3zRqHcva4ZYmGybMrXpr+C3n8T7bK7lA=="}]},"maintainers":[{"name":"magicdawn","email":"784876393@qq.com"}]},"0.1.2":{"name":"superagent-charset","version":"0.1.2","description":"add charset support for node's superagent","main":"index.js","dependencies":{"iconv-lite":"^0.4.13"},"peerDependencies":{"superagent":"^1.3.0"},"scripts":{"test":"mocha -R spec","test-cover":"istanbul cover _mocha -- -R spec -u exports"},"repository":{"type":"git","url":"git+ssh://git@github.com/magicdawn/superagent-charset.git"},"keywords":["superagent","encoding","charset","gbk","gb2312","iconv"],"author":{"name":"magicdawn"},"license":"MIT","bugs":{"url":"https://github.com/magicdawn/superagent-charset/issues"},"homepage":"https://github.com/magicdawn/superagent-charset","devDependencies":{"coveralls":"^2.11.8","istanbul":"^0.4.2","mocha":"^2.4.5","should":"^8.2.2"},"gitHead":"f9eba94221728672a0c1268755024cae865de602","_id":"superagent-charset@0.1.2","_shasum":"810483de1cc1f88d2bfab83f5dbf91bfedeed51b","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.6","_npmUser":{"name":"magicdawn","email":"magicdawn@qq.com"},"dist":{"shasum":"810483de1cc1f88d2bfab83f5dbf91bfedeed51b","tarball":"https://registry.npmjs.org/superagent-charset/-/superagent-charset-0.1.2.tgz","integrity":"sha512-+lBxKQR/q7s8kanNvy4zmnwLknrQ8w0jWAXUforJKSwjbL1fTT9UEHIaxqIeglhVCHd2aG38/B7Y5q8Ip3xD0Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCvmgEIAfQ1I/qGlNYLiXaprEtZ9N95atRDdRxwSRnn2QIhALdfE+TG01ovFGRpXjlkArzRpu/jOHA9gJvMW5go57sl"}]},"maintainers":[{"name":"magicdawn","email":"784876393@qq.com"}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/superagent-charset-0.1.2.tgz_1457197244258_0.1452364984434098"}},"1.0.0":{"name":"superagent-charset","version":"1.0.0","description":"add charset support for node's superagent","main":"index.js","dependencies":{"iconv-lite":"^0.4.13"},"scripts":{"test":"mocha -R spec","test-cover":"istanbul cover _mocha -- -R spec -u exports"},"repository":{"type":"git","url":"git+ssh://git@github.com/magicdawn/superagent-charset.git"},"keywords":["superagent","encoding","charset","gbk","gb2312","iconv"],"author":{"name":"magicdawn"},"license":"MIT","bugs":{"url":"https://github.com/magicdawn/superagent-charset/issues"},"homepage":"https://github.com/magicdawn/superagent-charset","devDependencies":{"coveralls":"^2.11.8","istanbul":"^0.4.2","mocha":"^2.4.5","should":"^8.2.2"},"gitHead":"4d89844fc09444c08e3643033034d8931b15595b","_id":"superagent-charset@1.0.0","_shasum":"82a0e8b774a8c8a6bd520d578c554a64ec23938b","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.6","_npmUser":{"name":"magicdawn","email":"magicdawn@qq.com"},"dist":{"shasum":"82a0e8b774a8c8a6bd520d578c554a64ec23938b","tarball":"https://registry.npmjs.org/superagent-charset/-/superagent-charset-1.0.0.tgz","integrity":"sha512-oNuZiPOEP1tZ3CBhhTzssvc8dS/l43VAd+nhPo0rOjq3xna4Je0RabwKh2tiEFXxCdfPRqBj5l9Beq1Ql/bk4w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE8YqlTfJfOTq7/nkCZAYQfHgkYeAaljuIFSCoVdlHLnAiEAhWiTi4UfTXLDFTJnGV1RZcRm94nmXY07YobbfV5o+Xc="}]},"maintainers":[{"name":"magicdawn","email":"784876393@qq.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/superagent-charset-1.0.0.tgz_1457240541301_0.2719766264781356"}},"1.1.0":{"name":"superagent-charset","version":"1.1.0","description":"add charset support for node's superagent","main":"index.js","dependencies":{"iconv-lite":"^0.4.13"},"scripts":{"test":"mocha","test-cover":"istanbul cover _mocha -- -R spec -u exports","report-cover":"cat ./coverage/lcov.info | coveralls"},"repository":{"type":"git","url":"git+ssh://git@github.com/magicdawn/superagent-charset.git"},"keywords":["superagent","encoding","charset","gbk","gb2312","iconv"],"author":{"name":"magicdawn"},"license":"MIT","bugs":{"url":"https://github.com/magicdawn/superagent-charset/issues"},"homepage":"https://github.com/magicdawn/superagent-charset","devDependencies":{"coveralls":"^2.11.8","eslint":"^2.13.0","istanbul":"^0.4.2","mocha":"^2.4.5","should":"^8.2.2","superagent":"^2.0.0"},"files":["index.js","package.json","README.md"],"gitHead":"259a8d1e541ec3c505ed5940faaa24cb917787a8","_id":"superagent-charset@1.1.0","_shasum":"1111d78c4e1ef557fc0284b29a5704d89b887280","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.4","_npmUser":{"name":"magicdawn","email":"magicdawn@qq.com"},"dist":{"shasum":"1111d78c4e1ef557fc0284b29a5704d89b887280","tarball":"https://registry.npmjs.org/superagent-charset/-/superagent-charset-1.1.0.tgz","integrity":"sha512-CBiDc2v4jaffkLgq4ZfehkhVy2Xxqyzb6GRvmm1DWmwCotlVoS9GZmHH/w3eeGeuoPuv4SdmRLgv1Yj+8FHMmQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEd4WOrzn4FAv/4gA07edTRttJc7K87L9k2hFM2CKSmbAiBa/xjb/1vb7sxzoEIxJrZj+w8+WR2tj+KmDIRJFX5kSw=="}]},"maintainers":[{"name":"magicdawn","email":"784876393@qq.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/superagent-charset-1.1.0.tgz_1466431782984_0.4174534797202796"}},"1.1.1":{"name":"superagent-charset","version":"1.1.1","description":"add charset support for node's superagent","main":"index.js","dependencies":{"iconv-lite":"^0.4.13"},"scripts":{"test":"mocha","test-cover":"istanbul cover _mocha -- -R spec -u exports"},"repository":{"type":"git","url":"git+ssh://git@github.com/magicdawn/superagent-charset.git"},"keywords":["superagent","encoding","charset","gbk","gb2312","iconv"],"author":{"name":"magicdawn"},"license":"MIT","bugs":{"url":"https://github.com/magicdawn/superagent-charset/issues"},"homepage":"https://github.com/magicdawn/superagent-charset","devDependencies":{"co-mocha":"^1.1.2","coveralls":"^2.11.8","eslint":"^2.13.0","istanbul":"^0.4.2","mocha":"^2.4.5","should":"^8.2.2","superagent":"^2.0.0"},"files":["index.js","package.json","README.md"],"gitHead":"200aa9b65cd299cf89325d4b20466b3c58a85516","_id":"superagent-charset@1.1.1","_shasum":"b5a2c6798945ac7d78c3cc3b6149d9765069cfad","_from":".","_npmVersion":"2.15.5","_nodeVersion":"4.4.6","_npmUser":{"name":"magicdawn","email":"magicdawn@qq.com"},"dist":{"shasum":"b5a2c6798945ac7d78c3cc3b6149d9765069cfad","tarball":"https://registry.npmjs.org/superagent-charset/-/superagent-charset-1.1.1.tgz","integrity":"sha512-hdwIiW3/je1537WZk6/QWn/9wnWFRh5J8+BCWJEKLLBeOnxm7XDZE4RebnoPMkMtBxZjqMMnmjDq5Z4S3ktmVg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCSzUDNqebNJmMw3ZdhStB/7oICSnPqJgvWZPhfIpGXawIhALvLyl+vZp8qeWm/xp+iZPpmAdnOLXAcUiAAk4OqXJ12"}]},"maintainers":[{"name":"magicdawn","email":"784876393@qq.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/superagent-charset-1.1.1.tgz_1466841578006_0.7244069783482701"}},"1.2.0":{"name":"superagent-charset","version":"1.2.0","description":"add charset support for node's superagent","main":"index.js","dependencies":{"iconv-lite":"^0.4.16"},"scripts":{"test":"mocha","test-cover":"istanbul cover _mocha -- -R spec -u exports","report-cover":"codecov"},"repository":{"type":"git","url":"git+ssh://git@github.com/magicdawn/superagent-charset.git"},"keywords":["superagent","encoding","charset","gbk","gb2312","iconv"],"author":{"name":"magicdawn"},"license":"MIT","bugs":{"url":"https://github.com/magicdawn/superagent-charset/issues"},"homepage":"https://github.com/magicdawn/superagent-charset","devDependencies":{"codecov":"^2.1.0","eslint":"^3.19.0","istanbul":"^1.1.0-alpha.1","koa":"^2.2.0","mocha":"^3.2.0","should":"^11.2.1","superagent":"^3.5.2","superagent-proxy":"^1.0.2"},"files":["index.js","package.json","README.md"],"gitHead":"a9881e6d3840615570824ee2e219a8bf2d1caccd","_id":"superagent-charset@1.2.0","_shasum":"9eeba5a9275f6f1cd3d6b13861f94463f3c3a348","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.6.0","_npmUser":{"name":"magicdawn","email":"magicdawn@qq.com"},"dist":{"shasum":"9eeba5a9275f6f1cd3d6b13861f94463f3c3a348","tarball":"https://registry.npmjs.org/superagent-charset/-/superagent-charset-1.2.0.tgz","integrity":"sha512-1qgAqpQmUlequetXb/Rg3ExEDoIf6hdVHm6H6skABL8nVGErPzcLEJ7Keke568P9ymvUxVyBpq3svBgKExo3gg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDHoESmxfEJiNM1qDDJVx1AJe5mAAUlME/YviXUfGYjGAiEAgAzOA8Yfx5u7i1WhuHVaLJfWj3kKAGGCCNa12nApPIc="}]},"maintainers":[{"name":"magicdawn","email":"784876393@qq.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/superagent-charset-1.2.0.tgz_1492936369668_0.9469242149498314"}}},"readme":"# superagent-charset\n\n> add charset support for node's superagent\n\n[![Build Status](https://img.shields.io/travis/magicdawn/superagent-charset.svg?style=flat-square)](https://travis-ci.org/magicdawn/superagent-charset)\n[![Coverage Status](https://img.shields.io/codecov/c/github/magicdawn/superagent-charset.svg?style=flat-square)](https://codecov.io/gh/magicdawn/superagent-charset)\n[![npm version](https://img.shields.io/npm/v/superagent-charset.svg?style=flat-square)](https://www.npmjs.com/package/superagent-charset)\n[![npm downloads](https://img.shields.io/npm/dm/superagent-charset.svg?style=flat-square)](https://www.npmjs.com/package/superagent-charset)\n[![npm license](https://img.shields.io/npm/l/superagent-charset.svg?style=flat-square)](http://magicdawn.mit-license.org)\n[![Greenkeeper badge](https://badges.greenkeeper.io/magicdawn/superagent-charset.svg)](https://greenkeeper.io/)\n\n\n## Install\n```js\n$ npm i superagent-charset --save\n```\n\n## API\n\n### install\n\n```js\nconst request = require('superagent')\nrequire('superagent-charset')(request)\n```\n\nthis will add `request.Request.prototype.charset`\n\n### charset\n\n`.charset(encoding)` , will passed to [iconv-lite](https://github.com/ashtuchkin/iconv-lite)\n\n```js\nconst should = require('should')\nconst request = require('superagent')\nrequire('superagent-charset')(request) // install charset\n\ndescribe('Basic Test', function() {\n  it('it works', function(done) {\n    request.get('http://www.sohu.com/')\n      .charset('gbk')\n      .end((err, res) => {\n        res.text.should.match(/搜狐/)\n        done(err)\n      })\n  })\n})\n```\n\n## License\nthe MIT License, http://magicdawn.mit-license.org","maintainers":[{"name":"magicdawn","email":"784876393@qq.com"}],"time":{"modified":"2022-06-27T02:11:27.179Z","created":"2015-01-16T04:00:01.434Z","0.0.1":"2015-01-16T04:00:01.434Z","0.0.2":"2015-08-08T03:45:24.921Z","0.1.0":"2015-10-06T14:16:02.492Z","0.1.1":"2015-10-06T14:32:49.796Z","0.1.2":"2016-03-05T17:00:47.107Z","1.0.0":"2016-03-06T05:02:22.687Z","1.1.0":"2016-06-20T14:09:44.405Z","1.1.1":"2016-06-25T07:59:40.566Z","1.2.0":"2017-04-23T08:32:51.466Z"},"homepage":"https://github.com/magicdawn/superagent-charset","keywords":["superagent","encoding","charset","gbk","gb2312","iconv"],"repository":{"type":"git","url":"git+ssh://git@github.com/magicdawn/superagent-charset.git"},"author":{"name":"magicdawn"},"bugs":{"url":"https://github.com/magicdawn/superagent-charset/issues"},"license":"MIT","readmeFilename":"README.md"}