GT2/GT2-iOS/node_modules/data-uri-to-buffer/package.json

100 lines
5.1 KiB
JSON

{
"_args": [
[
{
"raw": "data-uri-to-buffer@1",
"scope": null,
"escapedName": "data-uri-to-buffer",
"name": "data-uri-to-buffer",
"rawSpec": "1",
"spec": ">=1.0.0 <2.0.0",
"type": "range"
},
"/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/get-uri"
]
],
"_from": "data-uri-to-buffer@>=1.0.0 <2.0.0",
"_id": "data-uri-to-buffer@1.2.0",
"_inCache": true,
"_location": "/data-uri-to-buffer",
"_nodeVersion": "8.1.2",
"_npmOperationalInternal": {
"host": "s3://npm-registry-packages",
"tmp": "tmp/data-uri-to-buffer-1.2.0.tgz_1500427517195_0.7155292946845293"
},
"_npmUser": {
"name": "tootallnate",
"email": "nathan@tootallnate.net"
},
"_npmVersion": "5.0.3",
"_phantomChildren": {},
"_requested": {
"raw": "data-uri-to-buffer@1",
"scope": null,
"escapedName": "data-uri-to-buffer",
"name": "data-uri-to-buffer",
"rawSpec": "1",
"spec": ">=1.0.0 <2.0.0",
"type": "range"
},
"_requiredBy": [
"/get-uri"
],
"_resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-1.2.0.tgz",
"_shasum": "77163ea9c20d8641b4707e8f18abdf9a78f34835",
"_shrinkwrap": null,
"_spec": "data-uri-to-buffer@1",
"_where": "/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/get-uri",
"author": {
"name": "Nathan Rajlich",
"email": "nathan@tootallnate.net",
"url": "http://n8.io/"
},
"bugs": {
"url": "https://github.com/TooTallNate/node-data-uri-to-buffer/issues"
},
"dependencies": {},
"description": "Generate a Buffer instance from a Data URI string",
"devDependencies": {
"mocha": "^3.4.2"
},
"directories": {},
"dist": {
"integrity": "sha512-vKQ9DTQPN1FLYiiEEOQ6IBGFqvjCa5rSK3cWMy/Nespm5d/x3dGFT9UBZnkLxCwua/IXBi2TYnwTEpsOvhC4UQ==",
"shasum": "77163ea9c20d8641b4707e8f18abdf9a78f34835",
"tarball": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-1.2.0.tgz"
},
"gitHead": "9b6aadea00c5f08d0a13246a4e3655bcd9bf86a0",
"homepage": "https://github.com/TooTallNate/node-data-uri-to-buffer",
"keywords": [
"data",
"uri",
"datauri",
"data-uri",
"buffer",
"convert",
"rfc2397",
"2397"
],
"license": "MIT",
"main": "index.js",
"maintainers": [
{
"name": "tootallnate",
"email": "nathan@tootallnate.net"
}
],
"name": "data-uri-to-buffer",
"optionalDependencies": {},
"readme": "data-uri-to-buffer\n==================\n### Generate a Buffer instance from a [Data URI][rfc] string\n[![Build Status](https://travis-ci.org/TooTallNate/node-data-uri-to-buffer.svg?branch=master)](https://travis-ci.org/TooTallNate/node-data-uri-to-buffer)\n\nThis module accepts a [\"data\" URI][rfc] String of data, and returns a\nnode.js `Buffer` instance with the decoded data.\n\n\nInstallation\n------------\n\nInstall with `npm`:\n\n``` bash\n$ npm install data-uri-to-buffer\n```\n\n\nExample\n-------\n\n``` js\nvar dataUriToBuffer = require('data-uri-to-buffer');\n\n// plain-text data is supported\nvar uri = 'data:,Hello%2C%20World!';\nvar decoded = dataUriToBuffer(uri);\nconsole.log(decoded.toString());\n// 'Hello, World!'\n\n// base64-encoded data is supported\nuri = 'data:text/plain;base64,SGVsbG8sIFdvcmxkIQ%3D%3D';\ndecoded = dataUriToBuffer(uri);\nconsole.log(decoded.toString());\n// 'Hello, World!'\n```\n\n\nAPI\n---\n\n### dataUriToBuffer(String uri) → Buffer\n\nThe `type` property on the Buffer instance gets set to the Content-Type portion of\nthe \"mediatype\" portion of the \"data\" URI, or defaults to `\"text/plain\"` if not\nspecified.\n\nThe `charset` property on the Buffer instance gets set to the Charset portion of\nthe \"mediatype\" portion of the \"data\" URI, or defaults to `\"US-ASCII\"` if not\nspecified.\n\n\nLicense\n-------\n\n(The MIT License)\n\nCopyright (c) 2014 Nathan Rajlich &lt;nathan@tootallnate.net&gt;\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n[rfc]: http://tools.ietf.org/html/rfc2397\n",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git://github.com/TooTallNate/node-data-uri-to-buffer.git"
},
"scripts": {
"test": "mocha --reporter spec"
},
"version": "1.2.0"
}