{"_id":"data-uri-to-buffer","_rev":"276569","name":"data-uri-to-buffer","description":"Generate a Buffer instance from a Data URI string","dist-tags":{"latest":"5.0.1"},"maintainers":[{"name":"tootallnate","email":""}],"time":{"modified":"2023-09-20T17:43:14.000Z","created":"2014-01-03T00:53:10.915Z","5.0.1":"2023-05-05T22:04:10.448Z","5.0.0":"2023-05-04T20:33:19.663Z","4.0.1":"2023-01-13T00:47:12.963Z","4.0.0":"2021-09-27T10:11:39.112Z","3.0.1":"2020-05-30T00:51:45.700Z","3.0.0":"2019-09-27T21:51:15.948Z","2.0.2":"2019-09-26T21:10:06.304Z","2.0.1":"2019-04-04T18:31:54.601Z","2.0.0":"2017-07-19T01:26:36.607Z","1.2.0":"2017-07-19T01:25:17.266Z","1.1.0":"2017-07-18T01:29:01.904Z","1.0.0":"2017-06-10T00:35:08.216Z","0.0.4":"2015-06-29T20:04:15.846Z","0.0.3":"2014-01-09T01:12:26.219Z","0.0.2":"2014-01-09T00:19:25.592Z","0.0.1":"2014-01-03T00:53:10.915Z"},"users":{},"author":{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://n8.io/"},"repository":{"type":"git","url":"git+https://github.com/TooTallNate/proxy-agents.git","directory":"packages/data-uri-to-buffer"},"versions":{"5.0.1":{"name":"data-uri-to-buffer","version":"5.0.1","description":"Generate a Buffer instance from a Data URI string","main":"./dist/index.js","types":"./dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/TooTallNate/proxy-agents.git","directory":"packages/data-uri-to-buffer"},"engines":{"node":">= 14"},"keywords":["data","uri","datauri","data-uri","buffer","convert","rfc2397","2397"],"author":{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://n8.io/"},"license":"MIT","devDependencies":{"@types/jest":"^27.0.2","@types/node":"^14.18.45","jest":"^29.5.0","ts-jest":"^29.1.0","typescript":"^5.0.4","tsconfig":"0.0.0"},"scripts":{"build":"tsc","test":"jest --env node --verbose --bail","lint":"eslint . --ext .ts","pack":"node ../../scripts/pack.mjs"},"bugs":{"url":"https://github.com/TooTallNate/proxy-agents/issues"},"homepage":"https://github.com/TooTallNate/proxy-agents#readme","_id":"data-uri-to-buffer@5.0.1","_integrity":"sha512-a9l6T1qqDogvvnw0nKlfZzqsyikEBZBClF39V3TFoKhDtGBqHu2HkuomJc02j5zft8zrUaXEuoicLeW54RkzPg==","_resolved":"/tmp/dace3c93ff0dd76faa9aa2a8cba1fb78/data-uri-to-buffer-5.0.1.tgz","_from":"file:data-uri-to-buffer-5.0.1.tgz","_nodeVersion":"20.1.0","_npmVersion":"9.6.4","dist":{"shasum":"db89a9e279c2ffe74f50637a59a32fb23b3e4d7c","size":3497,"noattachment":false,"key":"/data-uri-to-buffer/-/data-uri-to-buffer-5.0.1.tgz","tarball":"http://name.csiicloud.com:7001/data-uri-to-buffer/download/data-uri-to-buffer-5.0.1.tgz"},"_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"directories":{},"maintainers":[{"name":"tootallnate","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/data-uri-to-buffer_5.0.1_1683324250263_0.6802099700141306"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-05-05T22:04:10.448Z","publish_time":1683324250448,"_source_registry_name":"default","_cnpm_publish_time":1683324250448},"5.0.0":{"name":"data-uri-to-buffer","version":"5.0.0","description":"Generate a Buffer instance from a Data URI string","main":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"build":"tsc","test":"jest --env node --verbose --bail","lint":"eslint . --ext .ts","pack":"node ../../scripts/pack.mjs"},"repository":{"type":"git","url":"git+https://github.com/TooTallNate/proxy-agents.git","directory":"packages/data-uri-to-buffer"},"engines":{"node":">= 14"},"keywords":["data","uri","datauri","data-uri","buffer","convert","rfc2397","2397"],"author":{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://n8.io/"},"license":"MIT","devDependencies":{"@types/jest":"^27.0.2","@types/node":"^14.18.43","jest":"^29.5.0","ts-jest":"^29.1.0","tsconfig":"workspace:*","typescript":"^5.0.4"},"gitHead":"4d75e6cc974b2614a575e6f7a3d3c79741727dbc","bugs":{"url":"https://github.com/TooTallNate/proxy-agents/issues"},"homepage":"https://github.com/TooTallNate/proxy-agents#readme","_id":"data-uri-to-buffer@5.0.0","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"shasum":"7b4e06b6292a279401c8868c047329f5d42c54ad","size":3472,"noattachment":false,"key":"/data-uri-to-buffer/-/data-uri-to-buffer-5.0.0.tgz","tarball":"http://name.csiicloud.com:7001/data-uri-to-buffer/download/data-uri-to-buffer-5.0.0.tgz"},"_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"directories":{},"maintainers":[{"name":"tootallnate","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/data-uri-to-buffer_5.0.0_1683232399483_0.4102046430354689"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-05-04T20:33:19.663Z","publish_time":1683232399663,"_source_registry_name":"default","_cnpm_publish_time":1683232399663},"4.0.1":{"name":"data-uri-to-buffer","version":"4.0.1","description":"Generate a Buffer instance from a Data URI string","type":"module","exports":"./dist/index.js","main":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"build":"tsc","test":"jest","prepublishOnly":"npm run build"},"repository":{"type":"git","url":"git://github.com/TooTallNate/node-data-uri-to-buffer.git"},"engines":{"node":">= 12"},"keywords":["data","uri","datauri","data-uri","buffer","convert","rfc2397","2397"],"author":{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://n8.io/"},"license":"MIT","bugs":{"url":"https://github.com/TooTallNate/node-data-uri-to-buffer/issues"},"homepage":"https://github.com/TooTallNate/node-data-uri-to-buffer","devDependencies":{"@types/jest":"^27.0.2","@types/node":"^12.20.36","jest":"^27.3.1","ts-jest":"^27.0.7","typescript":"^4.4.4"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"diagnostics":false,"isolatedModules":true}},"verbose":false,"testEnvironment":"node","testMatch":["<rootDir>/test/**/*.test.ts"]},"gitHead":"85cd8c854aefbf1bb636789d80364cfac8ea1583","_id":"data-uri-to-buffer@4.0.1","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"shasum":"d8feb2b2881e6a4f58c2e08acfd0e2834e26222e","size":3680,"noattachment":false,"key":"/data-uri-to-buffer/-/data-uri-to-buffer-4.0.1.tgz","tarball":"http://name.csiicloud.com:7001/data-uri-to-buffer/download/data-uri-to-buffer-4.0.1.tgz"},"_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"directories":{},"maintainers":[{"name":"tootallnate","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/data-uri-to-buffer_4.0.1_1673570832777_0.48692261036527995"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-01-13T00:47:12.963Z","publish_time":1673570832963,"_cnpm_publish_time":1673570832963},"4.0.0":{"name":"data-uri-to-buffer","version":"4.0.0","description":"Generate a Buffer instance from a Data URI string","type":"module","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","test":"jest","prepublishOnly":"npm run build"},"repository":{"type":"git","url":"git://github.com/TooTallNate/node-data-uri-to-buffer.git"},"engines":{"node":">= 12"},"keywords":["data","uri","datauri","data-uri","buffer","convert","rfc2397","2397"],"author":{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://n8.io/"},"license":"MIT","bugs":{"url":"https://github.com/TooTallNate/node-data-uri-to-buffer/issues"},"homepage":"https://github.com/TooTallNate/node-data-uri-to-buffer","devDependencies":{"@types/es6-promisify":"^5.0.0","@types/mocha":"^9.0.0","@types/node":"^10.5.3","jest":"^27.2.2","ts-jest":"^27.0.5","typescript":"^4.4.3"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"diagnostics":false,"isolatedModules":true}},"verbose":false,"testEnvironment":"node","testMatch":["<rootDir>/test/**/*.test.ts"]},"gitHead":"099460306e59ee2cbd9117e2b430e808ad19f5c0","_id":"data-uri-to-buffer@4.0.0","_nodeVersion":"12.22.6","_npmVersion":"7.24.1","dist":{"shasum":"b5db46aea50f6176428ac05b73be39a57701a64b","size":5677,"noattachment":false,"key":"/data-uri-to-buffer/-/data-uri-to-buffer-4.0.0.tgz","tarball":"http://name.csiicloud.com:7001/data-uri-to-buffer/download/data-uri-to-buffer-4.0.0.tgz"},"_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"directories":{},"maintainers":[{"name":"tootallnate","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/data-uri-to-buffer_4.0.0_1632737498941_0.6380803188362318"},"_hasShrinkwrap":false,"publish_time":1632737499112,"_cnpm_publish_time":1632737499112,"_cnpmcore_publish_time":"2021-12-13T13:55:04.730Z"},"3.0.1":{"name":"data-uri-to-buffer","version":"3.0.1","description":"Generate a Buffer instance from a Data URI string","main":"dist/src/index.js","types":"dist/src/index.d.ts","scripts":{"build":"tsc","test":"mocha --reporter spec dist/test/*.js","test-lint":"eslint src --ext .js,.ts","prepublishOnly":"npm run build"},"repository":{"type":"git","url":"git://github.com/TooTallNate/node-data-uri-to-buffer.git"},"engines":{"node":">= 6"},"keywords":["data","uri","datauri","data-uri","buffer","convert","rfc2397","2397"],"author":{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://n8.io/"},"license":"MIT","bugs":{"url":"https://github.com/TooTallNate/node-data-uri-to-buffer/issues"},"homepage":"https://github.com/TooTallNate/node-data-uri-to-buffer","devDependencies":{"@types/es6-promisify":"^5.0.0","@types/mocha":"^5.2.7","@types/node":"^10.5.3","@typescript-eslint/eslint-plugin":"1.6.0","@typescript-eslint/parser":"1.1.0","eslint":"5.16.0","eslint-config-airbnb":"17.1.0","eslint-config-prettier":"4.1.0","eslint-import-resolver-typescript":"1.1.1","eslint-plugin-import":"2.16.0","eslint-plugin-jsx-a11y":"6.2.1","eslint-plugin-react":"7.12.4","mocha":"^6.2.0","typescript":"^3.5.3"},"gitHead":"e39ad289e71726621466ba2cc7154a8eef452c23","_id":"data-uri-to-buffer@3.0.1","_nodeVersion":"12.16.2","_npmVersion":"6.14.5","dist":{"shasum":"594b8973938c5bc2c33046535785341abc4f3636","size":3503,"noattachment":false,"key":"/data-uri-to-buffer/-/data-uri-to-buffer-3.0.1.tgz","tarball":"http://name.csiicloud.com:7001/data-uri-to-buffer/download/data-uri-to-buffer-3.0.1.tgz"},"maintainers":[{"name":"tootallnate","email":""}],"_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/data-uri-to-buffer_3.0.1_1590799905558_0.6459117411174389"},"_hasShrinkwrap":false,"publish_time":1590799905700,"_cnpm_publish_time":1590799905700},"3.0.0":{"name":"data-uri-to-buffer","version":"3.0.0","description":"Generate a Buffer instance from a Data URI string","main":"dist/src/index.js","types":"dist/src/index.d.ts","scripts":{"build":"tsc","test":"mocha --reporter spec dist/test/*.js","test-lint":"eslint src --ext .js,.ts","prepublishOnly":"npm run build"},"repository":{"type":"git","url":"git://github.com/TooTallNate/node-data-uri-to-buffer.git"},"engines":{"node":">= 6"},"keywords":["data","uri","datauri","data-uri","buffer","convert","rfc2397","2397"],"author":{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://n8.io/"},"license":"MIT","bugs":{"url":"https://github.com/TooTallNate/node-data-uri-to-buffer/issues"},"homepage":"https://github.com/TooTallNate/node-data-uri-to-buffer","devDependencies":{"@types/buffer-from":"^1.1.0","@types/es6-promisify":"^5.0.0","@types/mocha":"^5.2.7","@types/node":"^10.5.3","@typescript-eslint/eslint-plugin":"1.6.0","@typescript-eslint/parser":"1.1.0","eslint":"5.16.0","eslint-config-airbnb":"17.1.0","eslint-config-prettier":"4.1.0","eslint-import-resolver-typescript":"1.1.1","eslint-plugin-import":"2.16.0","eslint-plugin-jsx-a11y":"6.2.1","eslint-plugin-react":"7.12.4","mocha":"^6.2.0","typescript":"^3.5.3"},"dependencies":{"buffer-from":"^1.1.1"},"gitHead":"e673786bdc3709a7337e1296fce0370a2ea6fed6","_id":"data-uri-to-buffer@3.0.0","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"shasum":"8a3088a5efd3f53c3682343313c6895d498eb8d7","size":5569,"noattachment":false,"key":"/data-uri-to-buffer/-/data-uri-to-buffer-3.0.0.tgz","tarball":"http://name.csiicloud.com:7001/data-uri-to-buffer/download/data-uri-to-buffer-3.0.0.tgz"},"maintainers":[{"name":"tootallnate","email":""}],"_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/data-uri-to-buffer_3.0.0_1569621075826_0.47339569396666925"},"_hasShrinkwrap":false,"publish_time":1569621075948,"_cnpm_publish_time":1569621075948},"2.0.2":{"name":"data-uri-to-buffer","version":"2.0.2","description":"Generate a Buffer instance from a Data URI string","main":"index.js","types":"index.d.ts","scripts":{"test":"mocha --reporter spec"},"repository":{"type":"git","url":"git://github.com/TooTallNate/node-data-uri-to-buffer.git"},"keywords":["data","uri","datauri","data-uri","buffer","convert","rfc2397","2397"],"author":{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://n8.io/"},"license":"MIT","bugs":{"url":"https://github.com/TooTallNate/node-data-uri-to-buffer/issues"},"homepage":"https://github.com/TooTallNate/node-data-uri-to-buffer","devDependencies":{"@types/node":"^8.0.7","mocha":"^3.4.2"},"gitHead":"49ca2a1b68b0080b6e037712a73cb423679a5ec6","_id":"data-uri-to-buffer@2.0.2","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"shasum":"d296973d5a4897a5dbe31716d118211921f04770","size":4422,"noattachment":false,"key":"/data-uri-to-buffer/-/data-uri-to-buffer-2.0.2.tgz","tarball":"http://name.csiicloud.com:7001/data-uri-to-buffer/download/data-uri-to-buffer-2.0.2.tgz"},"maintainers":[{"name":"tootallnate","email":""}],"_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/data-uri-to-buffer_2.0.2_1569532206206_0.4679690854249954"},"_hasShrinkwrap":false,"publish_time":1569532206304,"_cnpm_publish_time":1569532206304},"2.0.1":{"name":"data-uri-to-buffer","version":"2.0.1","description":"Generate a Buffer instance from a Data URI string","main":"index.js","types":"index.d.ts","scripts":{"test":"mocha --reporter spec"},"repository":{"type":"git","url":"git://github.com/TooTallNate/node-data-uri-to-buffer.git"},"keywords":["data","uri","datauri","data-uri","buffer","convert","rfc2397","2397"],"author":{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://n8.io/"},"license":"MIT","bugs":{"url":"https://github.com/TooTallNate/node-data-uri-to-buffer/issues"},"homepage":"https://github.com/TooTallNate/node-data-uri-to-buffer","dependencies":{"@types/node":"^8.0.7"},"devDependencies":{"mocha":"^3.4.2"},"gitHead":"84d6d828d8eaca38813c8ba7f11607fa558b7b2f","_id":"data-uri-to-buffer@2.0.1","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"dist":{"shasum":"ca8f56fe38b1fd329473e9d1b4a9afcd8ce1c045","size":4407,"noattachment":false,"key":"/data-uri-to-buffer/-/data-uri-to-buffer-2.0.1.tgz","tarball":"http://name.csiicloud.com:7001/data-uri-to-buffer/download/data-uri-to-buffer-2.0.1.tgz"},"maintainers":[{"name":"tootallnate","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/data-uri-to-buffer_2.0.1_1554402714500_0.7907742068800752"},"_hasShrinkwrap":false,"publish_time":1554402714601,"_cnpm_publish_time":1554402714601},"2.0.0":{"name":"data-uri-to-buffer","version":"2.0.0","description":"Generate a Buffer instance from a Data URI string","main":"index.js","types":"index.d.ts","scripts":{"test":"mocha --reporter spec"},"repository":{"type":"git","url":"git://github.com/TooTallNate/node-data-uri-to-buffer.git"},"keywords":["data","uri","datauri","data-uri","buffer","convert","rfc2397","2397"],"author":{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://n8.io/"},"license":"MIT","bugs":{"url":"https://github.com/TooTallNate/node-data-uri-to-buffer/issues"},"homepage":"https://github.com/TooTallNate/node-data-uri-to-buffer","dependencies":{"@types/node":"^8.0.7"},"devDependencies":{"mocha":"^3.4.2"},"gitHead":"ef77360329db07c3867dc5fcccfc43576f17fdf4","_id":"data-uri-to-buffer@2.0.0","_npmVersion":"5.0.3","_nodeVersion":"8.1.2","_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"dist":{"shasum":"0ba23671727349828c32cfafddea411908d13d23","size":4420,"noattachment":false,"key":"/data-uri-to-buffer/-/data-uri-to-buffer-2.0.0.tgz","tarball":"http://name.csiicloud.com:7001/data-uri-to-buffer/download/data-uri-to-buffer-2.0.0.tgz"},"maintainers":[{"name":"tootallnate","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/data-uri-to-buffer-2.0.0.tgz_1500427596539_0.10986626683734357"},"directories":{},"publish_time":1500427596607,"_cnpm_publish_time":1500427596607,"_hasShrinkwrap":false},"1.2.0":{"name":"data-uri-to-buffer","version":"1.2.0","description":"Generate a Buffer instance from a Data URI string","main":"index.js","scripts":{"test":"mocha --reporter spec"},"repository":{"type":"git","url":"git://github.com/TooTallNate/node-data-uri-to-buffer.git"},"keywords":["data","uri","datauri","data-uri","buffer","convert","rfc2397","2397"],"author":{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://n8.io/"},"license":"MIT","bugs":{"url":"https://github.com/TooTallNate/node-data-uri-to-buffer/issues"},"homepage":"https://github.com/TooTallNate/node-data-uri-to-buffer","devDependencies":{"mocha":"^3.4.2"},"gitHead":"9b6aadea00c5f08d0a13246a4e3655bcd9bf86a0","_id":"data-uri-to-buffer@1.2.0","_npmVersion":"5.0.3","_nodeVersion":"8.1.2","_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"dist":{"shasum":"77163ea9c20d8641b4707e8f18abdf9a78f34835","size":3883,"noattachment":false,"key":"/data-uri-to-buffer/-/data-uri-to-buffer-1.2.0.tgz","tarball":"http://name.csiicloud.com:7001/data-uri-to-buffer/download/data-uri-to-buffer-1.2.0.tgz"},"maintainers":[{"name":"tootallnate","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/data-uri-to-buffer-1.2.0.tgz_1500427517195_0.7155292946845293"},"directories":{},"publish_time":1500427517266,"_hasShrinkwrap":false,"_cnpm_publish_time":1500427517266},"1.1.0":{"name":"data-uri-to-buffer","version":"1.1.0","description":"Generate a Buffer instance from a Data URI string","main":"index.js","types":"index.d.ts","scripts":{"test":"mocha --reporter spec"},"repository":{"type":"git","url":"git://github.com/TooTallNate/node-data-uri-to-buffer.git"},"keywords":["data","uri","datauri","data-uri","buffer","convert","rfc2397","2397"],"author":{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://n8.io/"},"license":"MIT","bugs":{"url":"https://github.com/TooTallNate/node-data-uri-to-buffer/issues"},"homepage":"https://github.com/TooTallNate/node-data-uri-to-buffer","dependencies":{"@types/node":"^8.0.7"},"devDependencies":{"mocha":"^3.4.2"},"gitHead":"08e292d692ae5e6afeecda322346f1e6d61b3cde","_id":"data-uri-to-buffer@1.1.0","_npmVersion":"5.0.3","_nodeVersion":"8.1.2","_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"dist":{"shasum":"1895c5ed83cce455e382ce8d4b7301a6f4fc2915","size":4311,"noattachment":false,"key":"/data-uri-to-buffer/-/data-uri-to-buffer-1.1.0.tgz","tarball":"http://name.csiicloud.com:7001/data-uri-to-buffer/download/data-uri-to-buffer-1.1.0.tgz"},"maintainers":[{"name":"tootallnate","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/data-uri-to-buffer-1.1.0.tgz_1500341341802_0.7833561815787107"},"directories":{},"publish_time":1500341341904,"_hasShrinkwrap":false,"_cnpm_publish_time":1500341341904},"1.0.0":{"name":"data-uri-to-buffer","version":"1.0.0","description":"Generate a Buffer instance from a Data URI string","main":"index.js","scripts":{"test":"mocha --reporter spec"},"repository":{"type":"git","url":"git://github.com/TooTallNate/node-data-uri-to-buffer.git"},"keywords":["data","uri","datauri","data-uri","buffer","convert","rfc2397","2397"],"author":{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://n8.io/"},"license":"MIT","bugs":{"url":"https://github.com/TooTallNate/node-data-uri-to-buffer/issues"},"homepage":"https://github.com/TooTallNate/node-data-uri-to-buffer","devDependencies":{"mocha":"^3.4.2"},"gitHead":"d02b63c39c8492fef3f22f064c4245dbdfc2f74a","_id":"data-uri-to-buffer@1.0.0","_npmVersion":"5.0.0","_nodeVersion":"8.0.0","_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"dist":{"shasum":"af963806bc2bb6253f75442f13dfbee68a2a5897","size":3742,"noattachment":false,"key":"/data-uri-to-buffer/-/data-uri-to-buffer-1.0.0.tgz","tarball":"http://name.csiicloud.com:7001/data-uri-to-buffer/download/data-uri-to-buffer-1.0.0.tgz"},"maintainers":[{"name":"tootallnate","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/data-uri-to-buffer-1.0.0.tgz_1497054908119_0.13749182294122875"},"directories":{},"publish_time":1497054908216,"_cnpm_publish_time":1497054908216,"_hasShrinkwrap":false},"0.0.4":{"name":"data-uri-to-buffer","version":"0.0.4","description":"Generate a Buffer instance from a Data URI string","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha --reporter spec"},"repository":{"type":"git","url":"git://github.com/TooTallNate/node-data-uri-to-buffer.git"},"keywords":["data","uri","datauri","data-uri","buffer","convert","rfc2397","2397"],"author":{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://n8.io/"},"license":"MIT","bugs":{"url":"https://github.com/TooTallNate/node-data-uri-to-buffer/issues"},"homepage":"https://github.com/TooTallNate/node-data-uri-to-buffer","devDependencies":{"mocha":"2"},"gitHead":"387e133e2b016f8a62eb7df0d150455775f97ef8","_id":"data-uri-to-buffer@0.0.4","_shasum":"46e13ab9da8e309745c8d01ce547213ebdb2fe3f","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"maintainers":[{"name":"tootallnate","email":""}],"dist":{"shasum":"46e13ab9da8e309745c8d01ce547213ebdb2fe3f","size":3632,"noattachment":false,"key":"/data-uri-to-buffer/-/data-uri-to-buffer-0.0.4.tgz","tarball":"http://name.csiicloud.com:7001/data-uri-to-buffer/download/data-uri-to-buffer-0.0.4.tgz"},"publish_time":1435608255846,"_cnpm_publish_time":1435608255846,"_hasShrinkwrap":false},"0.0.3":{"name":"data-uri-to-buffer","version":"0.0.3","description":"Generate a Buffer instance from a Data URI string","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha --reporter spec"},"repository":{"type":"git","url":"git://github.com/TooTallNate/node-data-uri-to-buffer.git"},"keywords":["data","uri","datauri","data-uri","buffer","convert"],"author":{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://n8.io/"},"license":"MIT","bugs":{"url":"https://github.com/TooTallNate/node-data-uri-to-buffer/issues"},"homepage":"https://github.com/TooTallNate/node-data-uri-to-buffer","devDependencies":{"mocha":"~1.16.2"},"readmeFilename":"README.md","_id":"data-uri-to-buffer@0.0.3","dist":{"shasum":"18ae979a6a0ca994b0625853916d2662bbae0b1a","size":3143,"noattachment":false,"key":"/data-uri-to-buffer/-/data-uri-to-buffer-0.0.3.tgz","tarball":"http://name.csiicloud.com:7001/data-uri-to-buffer/download/data-uri-to-buffer-0.0.3.tgz"},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"maintainers":[{"name":"tootallnate","email":""}],"publish_time":1389229946219,"_cnpm_publish_time":1389229946219,"_hasShrinkwrap":false},"0.0.2":{"name":"data-uri-to-buffer","version":"0.0.2","description":"Generate a Buffer instance from a Data URI string","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha --reporter spec"},"repository":{"type":"git","url":"git://github.com/TooTallNate/node-data-uri-to-buffer.git"},"keywords":["data","uri","datauri","data-uri","buffer","convert"],"author":{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://n8.io/"},"license":"MIT","bugs":{"url":"https://github.com/TooTallNate/node-data-uri-to-buffer/issues"},"homepage":"https://github.com/TooTallNate/node-data-uri-to-buffer","devDependencies":{"mocha":"~1.16.2"},"readmeFilename":"README.md","_id":"data-uri-to-buffer@0.0.2","dist":{"shasum":"63c213f89191f8ee0e728d8cc0d257935e1bac90","size":3059,"noattachment":false,"key":"/data-uri-to-buffer/-/data-uri-to-buffer-0.0.2.tgz","tarball":"http://name.csiicloud.com:7001/data-uri-to-buffer/download/data-uri-to-buffer-0.0.2.tgz"},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"maintainers":[{"name":"tootallnate","email":""}],"publish_time":1389226765592,"_cnpm_publish_time":1389226765592,"_hasShrinkwrap":false},"0.0.1":{"name":"data-uri-to-buffer","version":"0.0.1","description":"Generate a Buffer instance from a Data URI string","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha --reporter spec"},"repository":{"type":"git","url":"git://github.com/TooTallNate/node-data-uri-to-buffer.git"},"keywords":["data","uri","datauri","data-uri","buffer","convert"],"author":{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://n8.io/"},"license":"MIT","bugs":{"url":"https://github.com/TooTallNate/node-data-uri-to-buffer/issues"},"homepage":"https://github.com/TooTallNate/node-data-uri-to-buffer","devDependencies":{"mocha":"~1.16.2"},"readmeFilename":"README.md","_id":"data-uri-to-buffer@0.0.1","dist":{"shasum":"b4b10d29d88025ea71f0a815bc006613ca259469","size":2669,"noattachment":false,"key":"/data-uri-to-buffer/-/data-uri-to-buffer-0.0.1.tgz","tarball":"http://name.csiicloud.com:7001/data-uri-to-buffer/download/data-uri-to-buffer-0.0.1.tgz"},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"maintainers":[{"name":"tootallnate","email":""}],"publish_time":1388710390915,"_cnpm_publish_time":1388710390915,"_hasShrinkwrap":false}},"readme":"data-uri-to-buffer\n==================\n### Generate a Buffer instance from a [Data URI][rfc] string\n\nThis module accepts a [\"data\" URI][rfc] String of data, and returns a\nnode.js `Buffer` instance with the decoded data.\n\nExample\n-------\n\n``` js\nimport { dataUriToBuffer } from 'data-uri-to-buffer';\n\n// plain-text data is supported\nlet uri = 'data:,Hello%2C%20World!';\nlet 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 main type portion of\nthe \"mediatype\" portion of the \"data\" URI, or defaults to `\"text/plain\"` if not\nspecified.\n\nThe `typeFull` property on the Buffer instance gets set to the entire\n\"mediatype\" portion of the \"data\" URI (including all parameters), or defaults\nto `\"text/plain;charset=US-ASCII\"` if not specified.\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 the\nentire type is not specified, or defaults to `\"\"` otherwise.\n\n*Note*: If the only the main type is specified but not the charset, e.g.\n`\"data:text/plain,abc\"`, the charset is set to the empty string. The spec only\ndefaults to US-ASCII as charset if the entire type is not specified.\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","_attachments":{},"homepage":"https://github.com/TooTallNate/proxy-agents#readme","bugs":{"url":"https://github.com/TooTallNate/proxy-agents/issues"},"license":"MIT"}