![]() | Name | Last modified | Size | Description |
---|---|---|---|---|
![]() | Parent Directory | - | ||
![]() | bin/ | 2 years ago | - | |
![]() | LICENSE | 40 years ago | 12K | |
![]() | LICENSE.DOCS | 40 years ago | 19K | |
![]() | README.md | 40 years ago | 1.1K | d768d73 docs [كارل مبارك] |
![]() | bower.json | 40 years ago | 463 | |
![]() | browser-atob.js | 40 years ago | 1.3K | |
![]() | node-atob.js | 40 years ago | 130 | |
![]() | package.json | 2 years ago | 1.4K | 3e510ca test new git [كارل مبارك] |
![]() | test.js | 40 years ago | 362 |
| 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!"
}());
Check out unibabel.js
Code copyright 2012-2018 AJ ONeal
Dual-licensed MIT and Apache-2.0
Docs copyright 2012-2018 AJ ONeal
Docs released under Creative Commons.