base64-js
npmv1.5.1TypeScriptBase64 encoding/decoding in pure JS
Overview
base64-js is an npm package that base64 encoding/decoding in pure JS. It is extremely widely used, with about 124.3M downloads per week and 3 known dependents in the graph. The latest version is 1.5.1, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need base64 encoding/decoding in pure JS and value a battle-tested, widely-adopted solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.
Pros
- Large, well-established user base (124.3M weekly downloads).
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
Cons
- No significant drawbacks detected from available metadata.
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of base64-js.
Dependencies
Dev (5)
Used by
Popular packages that depend on base64-js.
Alternatives to base64-js
Frequently installed together
TypeScript definitions for node
Audited & minimal 0-dependency JS implementation of SHA, RIPEMD, BLAKE, HMAC, HKDF, PBKDF & Scrypt
The semantic version parser used by npm.
Convert character encodings in pure javascript.
yargs the modern, pirate-themed, successor to optimist.
Stringify any JavaScript value.
Cooperative scheduler for the browser environment.
TypeScript definitions for react
An XML builder for node.js
Runtime for Regenerator-compiled generator and async functions.
An implementation of WHATWG AbortController interface.
A memoization library which only remembers the latest invocation
Version history
| Version | Published | License |
|---|---|---|
| 1.5.1latest | 5 years ago | MIT |
| 1.5.0 | 5 years ago | MIT |
| 1.3.1 | 7 years ago | MIT |
| 1.3.0 | 8 years ago | MIT |
| 1.2.3 | 8 years ago | MIT |
| 1.2.2 | 8 years ago | MIT |
| 1.2.1 | 9 years ago | MIT |
| 1.2.0 | 9 years ago | MIT |
| 1.1.2 | 10 years ago | MIT |
| 1.1.1 | 10 years ago | MIT |
| 1.1.0 | 10 years ago | MIT |
| 1.0.4 | 10 years ago | MIT |
| 1.0.3 | 10 years ago | MIT |
| 1.0.2 | 10 years ago | MIT |
| 1.0.1 | 10 years ago | MIT |
| 0.0.8 | 11 years ago | MIT |
| 0.0.7 | 12 years ago | MIT |
| 0.0.6 | 12 years ago | MIT |
| 0.0.5 | 12 years ago | MIT |
| 0.0.4 | 13 years ago | MIT |
Maintainers
Keywords
Funding
Frequently asked questions
How do I install base64-js?
Run `npm install base64-js` to add base64-js to your npm project.
What license is base64-js released under?
base64-js is distributed under the MIT license.
How popular is base64-js?
base64-js has approximately 124,273,488 downloads per week and 3 known dependent packages.