GT2/GT2-iOS/node_modules/stringstream/package.json

87 lines
3.2 KiB
JSON
Raw Normal View History

2018-02-12 17:26:06 +00:00
{
"_args": [
[
{
"raw": "stringstream@~0.0.5",
"scope": null,
"escapedName": "stringstream",
"name": "stringstream",
"rawSpec": "~0.0.5",
"spec": ">=0.0.5 <0.1.0",
"type": "range"
},
"/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/request"
]
],
"_from": "stringstream@>=0.0.5 <0.1.0",
"_id": "stringstream@0.0.5",
"_inCache": true,
"_location": "/stringstream",
"_nodeVersion": "4.2.1",
"_npmUser": {
"name": "hichaelmart",
"email": "michael.hart.au@gmail.com"
},
"_npmVersion": "2.14.8",
"_phantomChildren": {},
"_requested": {
"raw": "stringstream@~0.0.5",
"scope": null,
"escapedName": "stringstream",
"name": "stringstream",
"rawSpec": "~0.0.5",
"spec": ">=0.0.5 <0.1.0",
"type": "range"
},
"_requiredBy": [
"/request"
],
"_resolved": "https://registry.npmjs.org/stringstream/-/stringstream-0.0.5.tgz",
"_shasum": "4e484cd4de5a0bbbee18e46307710a8a81621878",
"_shrinkwrap": null,
"_spec": "stringstream@~0.0.5",
"_where": "/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/request",
"author": {
"name": "Michael Hart",
"email": "michael.hart.au@gmail.com",
"url": "http://github.com/mhart"
},
"bugs": {
"url": "https://github.com/mhart/StringStream/issues"
},
"dependencies": {},
"description": "Encode and decode streams into string streams",
"devDependencies": {},
"directories": {},
"dist": {
"shasum": "4e484cd4de5a0bbbee18e46307710a8a81621878",
"tarball": "https://registry.npmjs.org/stringstream/-/stringstream-0.0.5.tgz"
},
"gitHead": "1efe3bf507bf3a1161f8473908b60e881d41422b",
"homepage": "https://github.com/mhart/StringStream#readme",
"keywords": [
"string",
"stream",
"base64",
"gzip"
],
"license": "MIT",
"main": "stringstream.js",
"maintainers": [
{
"name": "hichaelmart",
"email": "michael.hart.au@gmail.com"
}
],
"name": "stringstream",
"optionalDependencies": {},
"readme": "# Decode streams into strings The Right Way(tm)\n\n```javascript\nvar fs = require('fs')\nvar zlib = require('zlib')\nvar strs = require('stringstream')\n\nvar utf8Stream = fs.createReadStream('massiveLogFile.gz')\n .pipe(zlib.createGunzip())\n .pipe(strs('utf8'))\n```\n\nNo need to deal with `setEncoding()` weirdness, just compose streams\nlike they were supposed to be!\n\nHandles input and output encoding:\n\n```javascript\n// Stream from utf8 to hex to base64... Why not, ay.\nvar hex64Stream = fs.createReadStream('myFile')\n .pipe(strs('utf8', 'hex'))\n .pipe(strs('hex', 'base64'))\n```\n\nAlso deals with `base64` output correctly by aligning each emitted data\nchunk so that there are no dangling `=` characters:\n\n```javascript\nvar stream = fs.createReadStream('myFile').pipe(strs('base64'))\n\nvar base64Str = ''\n\nstream.on('data', function(data) { base64Str += data })\nstream.on('end', function() {\n console.log('My base64 encoded file is: ' + base64Str) // Wouldn't work with setEncoding()\n console.log('Original file is: ' + new Buffer(base64Str, 'base64'))\n})\n```\n",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git+https://github.com/mhart/StringStream.git"
},
"scripts": {},
"version": "0.0.5"
}