base64-js
npmv1.5.1TypeScriptBase64 encoding/decoding in pure JS
Not recommended for new projects
No — base64-js should not be adopted for new projects. Last published 2128 days ago.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- FMaintenance: grade F, Failing.
Last published 2128 days ago.
- AWeight: grade A, Excellent.
Zero runtime dependencies, about 9.4 KB installed.
- ASupply chain: grade A, Excellent.
No install scripts, 2 maintainers, and a contained dependency surface.
- ALicense: grade A, Excellent.
MIT — permissive, with no copyleft found in the dependency tree.
Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.
Install cost
What you actually take on by adding base64-js to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Compatibility
- Node.js
- No constraint declared
- Module format
- CommonJS only
- TypeScript
- Types included
- Install scripts
- None
base64-js vs the alternatives
Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.
| Package | Weekly downloads | Dependents | License | Last release |
|---|---|---|---|---|
| base64-jsthis page | 0 | 3 | MIT | 5 years ago |
| vlq | 9.5M | 2 | MIT | 1 day ago |
| @exodus/bytes | 0 | 5 | MIT | 1 day ago |
| js-base64 | 0 | 5 | BSD-3-Clause | 1 day ago |
Dependencies
Declared by base64-js v1.5.1. Runtime dependencies are installed with the package; dev dependencies are not.
Dev (5)
Used by
Popular packages that depend on base64-js.
Relationship graph
Dependencies (left) and dependents (right) of base64-js.
Frequently installed together
the complete solution for node.js command-line programs
React is a JavaScript library for building user interfaces.
A memoization library which only remembers the latest invocation
A low level parser for ANSI sequences.
Cooperative scheduler for the browser environment.
The semantic version parser used by npm.
The hermes compiler CLI used during the React Native build process
Stringify any JavaScript value.
A fast and minimal alternative to globby and fast-glob
yargs the modern, pirate-themed, successor to optimist.
TypeScript definitions for react
React is a JavaScript library for building user interfaces.
Release history
No releases in the last two years, typically about 61 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 1.5.1latest | 5 years ago | 9.4 KB | MIT |
| 1.5.0 | 5 years ago | 9.5 KB | MIT |
| 1.3.1 | 7 years ago | 9.0 KB | MIT |
| 1.3.0 | 8 years ago | 13 KB | MIT |
| 1.2.3 | 8 years ago | 12 KB | MIT |
| 1.2.2 | 8 years ago | 12 KB | MIT |
| 1.2.1 | 9 years ago | — | MIT |
| 1.2.0 | 10 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 |
Overview
base64-js is an npm package that base64 encoding/decoding in pure JS. It has 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 focused 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
- 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.
Maintainers
Keywords
Funding
Frequently asked questions
Should I use base64-js?
No — base64-js should not be adopted for new projects. Last published 2128 days ago.
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?
npm does not publish download counts. Within PackageGraph's crawl, 3 known packages depend on base64-js.
Is base64-js still maintained?
The most recent release of base64-js (v1.5.1) was published 5 years ago.
Does base64-js run install scripts?
No. base64-js does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.