{"_id":"data-uri-to-buffer","_rev":"4252434","name":"data-uri-to-buffer","description":"Create an ArrayBuffer instance from a Data URI string","dist-tags":{"latest":"8.0.0"},"maintainers":[{"name":"tootallnate","email":"nathan@tootallnate.net"}],"time":{"modified":"2026-04-02T02:27:06.000Z","created":"2014-01-03T00:53:10.915Z","8.0.0":"2026-04-01T06:57:37.124Z","7.0.0":"2026-03-11T16:58:27.424Z","6.0.2":"2024-02-12T18:24:17.563Z","6.0.1":"2023-09-30T14:49:57.761Z","6.0.0":"2023-09-30T14:29:51.307Z","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":{"nomemires":true,"hecto932":true,"vonthar":true,"adius":true,"yusef.ho.tw":true},"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":{"8.0.0":{"name":"data-uri-to-buffer","version":"8.0.0","type":"module","description":"Create an ArrayBuffer instance from a Data URI string","exports":{"node":{"types":"./dist/node.d.ts","default":"./dist/node.js"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"repository":{"type":"git","url":"git+https://github.com/TooTallNate/proxy-agents.git","directory":"packages/data-uri-to-buffer"},"engines":{"node":">= 20"},"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/node":"^22.13.0","typescript":"^5.1.6","tsconfig":"0.0.0"},"scripts":{"build":"tsc","test":"vitest","lint":"eslint . --ext .ts","pack":"node ../../scripts/pack.mjs"},"_id":"data-uri-to-buffer@8.0.0","bugs":{"url":"https://github.com/TooTallNate/proxy-agents/issues"},"homepage":"https://github.com/TooTallNate/proxy-agents#readme","_integrity":"sha512-6UHfyCux51b8PTGDgveqtz1tvphBku5DrMKKJbFAZAJOI2zsjDpDoYE1+QGj7FOMS4BdTFNJsJiR3zEB0xH0yQ==","_resolved":"/tmp/205b1ad854a9feadc72bb1f4bce43537/data-uri-to-buffer-8.0.0.tgz","_from":"file:data-uri-to-buffer-8.0.0.tgz","_nodeVersion":"20.20.1","_npmVersion":"11.12.1","dist":{"shasum":"c642ffbc96d8fae76cccecbad43cbddd7818c785","size":4871,"noattachment":false,"key":"/data-uri-to-buffer/-/data-uri-to-buffer-8.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/data-uri-to-buffer/download/data-uri-to-buffer-8.0.0.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:42565514-968b-4724-a547-9b317c5d9bfb"}},"directories":{},"maintainers":[{"name":"tootallnate","email":"nathan@tootallnate.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/data-uri-to-buffer_8.0.0_1775026656987_0.5139888183195218"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-04-01T06:57:37.124Z","publish_time":1775026657124,"_source_registry_name":"default","_cnpm_publish_time":1775026657124},"7.0.0":{"name":"data-uri-to-buffer","version":"7.0.0","type":"module","description":"Create an ArrayBuffer instance from a Data URI string","exports":{"node":{"types":"./dist/node.d.ts","default":"./dist/node.js"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"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/node":"^22.13.0","typescript":"^5.1.6","tsconfig":"0.0.0"},"scripts":{"build":"tsc","test":"vitest","lint":"eslint . --ext .ts","pack":"node ../../scripts/pack.mjs"},"_id":"data-uri-to-buffer@7.0.0","bugs":{"url":"https://github.com/TooTallNate/proxy-agents/issues"},"homepage":"https://github.com/TooTallNate/proxy-agents#readme","_integrity":"sha512-CuRUx0TXGSbbWdEci3VK/XOZGP3n0P4pIKpsqpVtBqaIIuj3GKK8H45oAqA4Rg8FHipc+CzRdUzmD4YQXxv66Q==","_resolved":"/tmp/8da6a453a869e182cf9f085d28c145ae/data-uri-to-buffer-7.0.0.tgz","_from":"file:data-uri-to-buffer-7.0.0.tgz","_nodeVersion":"20.20.0","_npmVersion":"11.11.0","dist":{"shasum":"26af0bf7326516465a51a05313095a009bf3eb5d","size":4871,"noattachment":false,"key":"/data-uri-to-buffer/-/data-uri-to-buffer-7.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/data-uri-to-buffer/download/data-uri-to-buffer-7.0.0.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:42565514-968b-4724-a547-9b317c5d9bfb"}},"directories":{},"maintainers":[{"name":"tootallnate","email":"nathan@tootallnate.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/data-uri-to-buffer_7.0.0_1773248307278_0.11270739405091512"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-03-11T16:58:27.424Z","publish_time":1773248307424,"_source_registry_name":"default","_cnpm_publish_time":1773248307424},"6.0.2":{"name":"data-uri-to-buffer","version":"6.0.2","description":"Create an ArrayBuffer instance from a Data URI string","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{"node":"./dist/node.js","default":"./dist/index.js"},"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@6.0.2","_integrity":"sha512-7hvf7/GW8e86rW0ptuwS3OcBGDjIi6SZva7hCyWC0yYry2cOPmLIjXAUHI6DK2HsnwJd9ifmt57i8eV2n4YNpw==","_resolved":"/tmp/fb3865a21fe72e0dc250a7262903a94e/data-uri-to-buffer-6.0.2.tgz","_from":"file:data-uri-to-buffer-6.0.2.tgz","_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"shasum":"8a58bb67384b261a38ef18bea1810cb01badd28b","size":5039,"noattachment":false,"key":"/data-uri-to-buffer/-/data-uri-to-buffer-6.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/data-uri-to-buffer/download/data-uri-to-buffer-6.0.2.tgz"},"_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"directories":{},"maintainers":[{"name":"tootallnate","email":"nathan@tootallnate.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/data-uri-to-buffer_6.0.2_1707762257392_0.9218302669200353"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-02-12T18:24:17.563Z","publish_time":1707762257563,"_source_registry_name":"default","_cnpm_publish_time":1707762257563},"6.0.1":{"name":"data-uri-to-buffer","version":"6.0.1","description":"Create an ArrayBuffer 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@6.0.1","_integrity":"sha512-MZd3VlchQkp8rdend6vrx7MmVDJzSNTBvghvKjirLkD+WTChA3KUf0jkE68Q4UyctNqI11zZO9/x2Yx+ub5Cvg==","_resolved":"/tmp/30694727d39c5c4314bc18d1dd4d19de/data-uri-to-buffer-6.0.1.tgz","_from":"file:data-uri-to-buffer-6.0.1.tgz","_nodeVersion":"20.8.0","_npmVersion":"10.1.0","dist":{"shasum":"540bd4c8753a25ee129035aebdedf63b078703c7","size":4197,"noattachment":false,"key":"/data-uri-to-buffer/-/data-uri-to-buffer-6.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/data-uri-to-buffer/download/data-uri-to-buffer-6.0.1.tgz"},"_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"directories":{},"maintainers":[{"name":"tootallnate","email":"nathan@tootallnate.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/data-uri-to-buffer_6.0.1_1696085397616_0.6014027081142856"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-09-30T14:49:57.761Z","publish_time":1696085397761,"_source_registry_name":"default","_cnpm_publish_time":1696085397761},"6.0.0":{"name":"data-uri-to-buffer","version":"6.0.0","description":"Create an ArrayBuffer 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@6.0.0","_integrity":"sha512-pMT6awii4zyQu/fUdCVM798DjDxiIamF8h9WUrmRC87TCnxDyxyHoVmOH0EbGAmbCrC3aw+PfPTXK6UTSQc26g==","_resolved":"/tmp/fde915e75b6737256e48822001ac96da/data-uri-to-buffer-6.0.0.tgz","_from":"file:data-uri-to-buffer-6.0.0.tgz","_nodeVersion":"20.8.0","_npmVersion":"10.1.0","dist":{"shasum":"80d4c58a7a9e3145dd623cfd138b5b4fec9cbc38","size":4217,"noattachment":false,"key":"/data-uri-to-buffer/-/data-uri-to-buffer-6.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/data-uri-to-buffer/download/data-uri-to-buffer-6.0.0.tgz"},"_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"directories":{},"maintainers":[{"name":"tootallnate","email":"nathan@tootallnate.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/data-uri-to-buffer_6.0.0_1696084191053_0.5843435140881559"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-09-30T14:29:51.307Z","publish_time":1696084191307,"_source_registry_name":"default","_cnpm_publish_time":1696084191307},"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://registry.cnpm.dingdandao.com/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":"nathan@tootallnate.net"}],"_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://registry.cnpm.dingdandao.com/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":"nathan@tootallnate.net"}],"_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://registry.cnpm.dingdandao.com/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":"nathan@tootallnate.net"}],"_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://registry.cnpm.dingdandao.com/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":"nathan@tootallnate.net"}],"_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},"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://registry.cnpm.dingdandao.com/data-uri-to-buffer/download/data-uri-to-buffer-3.0.1.tgz"},"maintainers":[{"name":"tootallnate","email":"nathan@tootallnate.net"}],"_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://registry.cnpm.dingdandao.com/data-uri-to-buffer/download/data-uri-to-buffer-3.0.0.tgz"},"maintainers":[{"name":"tootallnate","email":"nathan@tootallnate.net"}],"_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://registry.cnpm.dingdandao.com/data-uri-to-buffer/download/data-uri-to-buffer-2.0.2.tgz"},"maintainers":[{"name":"tootallnate","email":"nathan@tootallnate.net"}],"_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://registry.cnpm.dingdandao.com/data-uri-to-buffer/download/data-uri-to-buffer-2.0.1.tgz"},"maintainers":[{"name":"tootallnate","email":"nathan@tootallnate.net"}],"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://registry.cnpm.dingdandao.com/data-uri-to-buffer/download/data-uri-to-buffer-2.0.0.tgz"},"maintainers":[{"name":"tootallnate","email":"nathan@tootallnate.net"}],"_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://registry.cnpm.dingdandao.com/data-uri-to-buffer/download/data-uri-to-buffer-1.2.0.tgz"},"maintainers":[{"name":"tootallnate","email":"nathan@tootallnate.net"}],"_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://registry.cnpm.dingdandao.com/data-uri-to-buffer/download/data-uri-to-buffer-1.1.0.tgz"},"maintainers":[{"name":"tootallnate","email":"nathan@tootallnate.net"}],"_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://registry.cnpm.dingdandao.com/data-uri-to-buffer/download/data-uri-to-buffer-1.0.0.tgz"},"maintainers":[{"name":"tootallnate","email":"nathan@tootallnate.net"}],"_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":"nathan@tootallnate.net"}],"dist":{"shasum":"46e13ab9da8e309745c8d01ce547213ebdb2fe3f","size":3632,"noattachment":false,"key":"/data-uri-to-buffer/-/data-uri-to-buffer-0.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/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://registry.cnpm.dingdandao.com/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":"nathan@tootallnate.net"}],"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://registry.cnpm.dingdandao.com/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":"nathan@tootallnate.net"}],"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://registry.cnpm.dingdandao.com/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":"nathan@tootallnate.net"}],"publish_time":1388710390915,"_cnpm_publish_time":1388710390915,"_hasShrinkwrap":false}},"readme":"data-uri-to-buffer\n==================\n### Create an ArrayBuffer instance from a [Data URI][rfc] string\n\nThis module accepts a [\"data\" URI][rfc] String of data, and returns\nan `ArrayBuffer` instance with the decoded data.\n\nThis module is intended to work on a large variety of JavaScript\nruntimes, including Node.js and web browsers.\n\nExample\n-------\n\n```typescript\nimport { dataUriToBuffer } from 'data-uri-to-buffer';\n\n// plain-text data is supported\nlet uri = 'data:,Hello%2C%20World!';\nlet parsed = dataUriToBuffer(uri);\nconsole.log(new TextDecoder().decode(parsed.buffer));\n// 'Hello, World!'\n\n// base64-encoded data is supported\nuri = 'data:text/plain;base64,SGVsbG8sIFdvcmxkIQ%3D%3D';\nparsed = dataUriToBuffer(uri);\nconsole.log(new TextDecoder().decode(parsed.buffer));\n// 'Hello, World!'\n```\n\n\nAPI\n---\n\n```typescript\nexport interface ParsedDataURI {\n\ttype: string;\n\ttypeFull: string;\n\tcharset: string;\n\tbuffer: ArrayBuffer;\n}\n```\n\n### dataUriToBuffer(uri: string | URL) → ParsedDataURI\n\nThe `type` property 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 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 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 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[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"}