Big update!Introducing GitHub Bot Commands. Learn more
Socket
Log inBook a demo

atob

Package Overview
Dependencies
0
Maintainers
1
Versions
11
Issues
File Explorer

Advanced tools

atob

atob for Node.JS and Linux / Mac / Windows CLI (it's a one-liner)

    2.1.2latest

Version published
Maintainers
1
Weekly downloads
14,934,223
decreased by-10.94%

Weekly downloads

Readme

Source

atob

| atob | btoa | unibabel.js | Sponsored by ppl

Uses Buffer to emulate the exact functionality of the browser's atob.

Note: Unicode may be handled incorrectly (like the browser).

It turns base64-encoded ascii data back to binary.

(function () { "use strict"; var atob = require('atob'); var b64 = "SGVsbG8sIFdvcmxkIQ=="; var bin = atob(b64); console.log(bin); // "Hello, World!" }());

Need Unicode and Binary Support in the Browser?

Check out unibabel.js

Changelog

  • v2.1.0 address a few issues and PRs, update URLs
  • v2.0.0 provide browser version for ios web workers
  • v1.2.0 provide (empty) browser version
  • v1.1.3 add MIT license
  • v1.1.2 node only

LICENSE

Code copyright 2012-2018 AJ ONeal

Dual-licensed MIT and Apache-2.0

Docs copyright 2012-2018 AJ ONeal

Docs released under Creative Commons.

Keywords

FAQs

What is atob?

atob for Node.JS and Linux / Mac / Windows CLI (it's a one-liner)

Is atob popular?

The npm package atob receives a total of 11,487,816 weekly downloads. As such, atob popularity was classified as popular.

Is atob well maintained?

We found that atob demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.It has 1 open source maintainer collaborating on the project.

Last updated on 18 Aug 2018

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc