data-uri-to-buffer
npmv8.0.0Create an ArrayBuffer instance from a Data URI string
Overview
data-uri-to-buffer is an npm package that create an ArrayBuffer instance from a Data URI string. It is extremely widely used, with about 85.7M downloads per week and 1 known dependents in the graph. The latest version is 8.0.0, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need create an ArrayBuffer instance from a Data URI string and value a battle-tested, widely-adopted solution.
When not to use it
Consider an alternative if you need to have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.
Pros
- Large, well-established user base (85.7M weekly downloads).
- Clear open-source license (MIT).
- Lean dependency tree (3 direct dependencies).
Cons
- No bundled TypeScript types (may require a separate @types package).
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of data-uri-to-buffer.
Dependencies
Dev (3)
Used by
Popular packages that depend on data-uri-to-buffer.
Alternatives to data-uri-to-buffer
Read/write IEEE754 floating point numbers from/to a Buffer or array-like object
Plain color conversion functions
Convert character encodings in pure javascript.
Converts a source-map from/to different formats and allows adding/changing properties.
Convert Windows backslash paths to slash paths
Utility to parse a string bytes to bytes and vice-versa
Get paths for storing things like data, config, cache, etc
smart-buffer is a Buffer wrapper that adds automatic read & write offset tracking, string operations, data insertions, and more.
A better decodeURIComponent
Convert an absolute path to a tilde path: `/Users/sindresorhus/dev` → `~/dev`
Data library for istanbul coverage objects
Fast and safe decodeURIComponent
Frequently installed together
A library to create readable "multipart/form-data" streams. Can be used to submit forms and file uploads to other web applications.
BDD/TDD assertion library for node.js and the browser. Test framework agnostic.
An implementation of WHATWG AbortController interface.
Blob & File implementation in Node.js, originally from node-fetch.
HTML5 `FormData` for Browsers and Node.
Version history
| Version | Published | License |
|---|---|---|
| 8.0.0latest | 3 months ago | MIT |
| 7.0.0 | 4 months ago | MIT |
| 6.0.2 | 2 years ago | MIT |
| 6.0.1 | 2 years ago | MIT |
| 6.0.0 | 2 years ago | MIT |
| 5.0.1 | 3 years ago | MIT |
| 5.0.0 | 3 years ago | MIT |
| 4.0.1 | 3 years ago | MIT |
| 4.0.0 | 4 years ago | MIT |
| 3.0.1 | 6 years ago | MIT |
| 3.0.0 | 6 years ago | MIT |
| 2.0.2 | 6 years ago | MIT |
| 2.0.1 | 7 years ago | MIT |
| 2.0.0 | 9 years ago | MIT |
| 1.2.0 | 9 years ago | MIT |
| 1.1.0 | 9 years ago | MIT |
| 1.0.0 | 9 years ago | MIT |
| 0.0.4 | 11 years ago | MIT |
| 0.0.3 | 12 years ago | MIT |
| 0.0.2 | 12 years ago | MIT |
Maintainers
Frequently asked questions
How do I install data-uri-to-buffer?
Run `npm install data-uri-to-buffer` to add data-uri-to-buffer to your npm project.
What license is data-uri-to-buffer released under?
data-uri-to-buffer is distributed under the MIT license.
How popular is data-uri-to-buffer?
data-uri-to-buffer has approximately 85,740,254 downloads per week and 1 known dependent packages.