atob for Node.JS and Linux / Mac / Windows CLI (it's a one-liner)
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
AJ ONeal 50c9dbb86e bump version pirms 10 gadiem
bin added cli bin pirms 12 gadiem
LICENSE satisfying the money-hungry lawyers... pirms 10 gadiem
LICENSE.DOCS satisfying the money-hungry lawyers... pirms 10 gadiem
README.md satisfying the money-hungry lawyers... pirms 10 gadiem
index.js Fix atob to match browser implementations pirms 12 gadiem
package.json bump version pirms 10 gadiem
test.js handle actual binary, not just utf8 pirms 12 gadiem

README.md

atob

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')
    , b64 = "SGVsbG8gV29ybGQ="
    , bin = atob(b64)
    ;

  console.log(bin); // "Hello World"
}());

Copyright and license

Code and documentation copyright 2012-2014 AJ ONeal Tech, LLC.

Code released under the Apache license.

Docs released under Creative Commons.