atob

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

npm install atob
13 downloads in the last day
452 downloads in the last week
1 726 downloads in the last month

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"
}());
npm loves you