Sha256: 2703fad100767d2136c1c8c4eee15ba6382e6d011b4bcbba5e0efe5b784a498d

Contents?: true

Size: 362 Bytes

Versions: 42

Compression:

Stored size: 362 Bytes

Contents

(function () {
  "use strict";

  var atob = require('.');
  var encoded = "SGVsbG8sIFdvcmxkIQ=="
  var unencoded = "Hello, World!";
  /*
    , encoded = "SGVsbG8sIBZM"
    , unencoded = "Hello, 世界"
  */

  if (unencoded !== atob(encoded)) {
    console.log('[FAIL]', unencoded, atob(encoded));
    return;
  }

  console.log('[PASS] all tests pass');
}());

Version data entries

42 entries across 41 versions & 14 rubygems

Version Path
optimacms-0.1.61 spec/dummy/node_modules/atob/test.js
disco_app-0.18.0 test/dummy/node_modules/atob/test.js
disco_app-0.18.2 test/dummy/node_modules/atob/test.js
epuber-stylus-source-0.56.0 vendor/node_modules/atob/test.js
disco_app-0.16.1 test/dummy/node_modules/atob/test.js
disco_app-0.15.2 test/dummy/node_modules/atob/test.js
disco_app-0.18.4 test/dummy/node_modules/atob/test.js
disco_app-0.18.1 test/dummy/node_modules/atob/test.js
disco_app-0.12.7.pre.puma.pre.3 test/dummy/node_modules/atob/test.js
disco_app-0.14.0 test/dummy/node_modules/atob/test.js
disco_app-0.13.6.pre.puma.pre.3 test/dummy/node_modules/atob/test.js
epuber-stylus-source-0.54.8 vendor/node_modules/atob/test.js
tang-0.2.1 spec/tang_app/node_modules/atob/test.js
groonga-client-model-6.0.0 test/apps/rails6.1.3/node_modules/atob/test.js
groonga-client-model-6.0.0 test/apps/rails6.0.3.5/node_modules/atob/test.js
ruby2js-4.0.4 lib/tasks/testrails/node_modules/atob/test.js
ruby2js-4.0.3 lib/tasks/testrails/node_modules/atob/test.js
tang-0.2.0 spec/tang_app/node_modules/atob/test.js
tang-0.1.0 spec/tang_app/node_modules/atob/test.js
tang-0.0.9 spec/tang_app/node_modules/atob/test.js