{"_id":"abab","_rev":"2798174","name":"abab","description":"WHATWG spec-compliant implementations of window.atob and window.btoa.","dist-tags":{"latest":"2.0.6"},"maintainers":[{"name":"jeffcarp","email":"gcarpenterv@gmail.com"}],"time":{"modified":"2023-12-06T08:43:01.000Z","created":"2015-09-01T22:49:15.325Z","2.0.6":"2022-04-17T03:36:42.573Z","2.0.5":"2020-09-11T19:11:09.611Z","2.0.4":"2020-08-01T04:57:35.236Z","2.0.3":"2019-11-13T01:35:55.331Z","2.0.2":"2019-09-24T22:50:47.819Z","2.0.1":"2019-08-28T22:53:41.111Z","2.0.0":"2018-04-20T20:50:04.550Z","1.0.4":"2017-09-21T01:34:13.957Z","1.0.3":"2016-01-12T01:24:59.282Z","1.0.2":"2015-12-30T22:40:50.762Z","1.0.1":"2015-11-13T23:21:16.230Z","1.0.0":"2015-09-01T22:49:15.325Z"},"users":{"jeffcarp":true},"author":{"name":"Jeff Carpenter","email":"gcarpenterv@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/jsdom/abab.git"},"versions":{"2.0.6":{"name":"abab","version":"2.0.6","description":"WHATWG spec-compliant implementations of window.atob and window.btoa.","main":"index.js","scripts":{"mocha":"mocha test/node","karma":"karma start","test":"npm run lint && npm run mocha && npm run karma","lint":"eslint ."},"repository":{"type":"git","url":"git+https://github.com/jsdom/abab.git"},"keywords":["atob","btoa","browser"],"author":{"name":"Jeff Carpenter","email":"gcarpenterv@gmail.com"},"license":"BSD-3-Clause","bugs":{"url":"https://github.com/jsdom/abab/issues"},"homepage":"https://github.com/jsdom/abab#readme","devDependencies":{"eslint":"^4.19.1","karma":"^2.0.0","karma-cli":"^1.0.1","karma-firefox-launcher":"^1.1.0","karma-mocha":"^1.3.0","karma-webpack":"^3.0.0","mocha":"^5.1.0","webpack":"^4.5.0"},"types":"./index.d.ts","gitHead":"063700eb38c7c4c74530bb7505ad41d097adde54","_id":"abab@2.0.6","_nodeVersion":"17.4.0","_npmVersion":"8.6.0","dist":{"shasum":"41b80f2c871d19686216b82309231cfd3cb3d291","size":4629,"noattachment":false,"key":"/abab/-/abab-2.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/abab/download/abab-2.0.6.tgz"},"_npmUser":{"name":"jeffcarp","email":"gcarpenterv@gmail.com"},"directories":{},"maintainers":[{"name":"jeffcarp","email":"gcarpenterv@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/abab_2.0.6_1650166602300_0.20683237636254548"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-04-17T03:36:46.312Z","publish_time":1650166602573,"deprecated":"Use your platform's native atob() and btoa() methods instead","_cnpm_publish_time":1650166602573},"2.0.5":{"name":"abab","version":"2.0.5","description":"WHATWG spec-compliant implementations of window.atob and window.btoa.","main":"index.js","scripts":{"mocha":"mocha test/node","karma":"karma start","test":"npm run lint && npm run mocha && npm run karma","lint":"eslint ."},"repository":{"type":"git","url":"git+https://github.com/jsdom/abab.git"},"keywords":["atob","btoa","browser"],"author":{"name":"Jeff Carpenter","email":"gcarpenterv@gmail.com"},"license":"BSD-3-Clause","bugs":{"url":"https://github.com/jsdom/abab/issues"},"homepage":"https://github.com/jsdom/abab#readme","devDependencies":{"eslint":"^4.19.1","karma":"^2.0.0","karma-cli":"^1.0.1","karma-firefox-launcher":"^1.1.0","karma-mocha":"^1.3.0","karma-webpack":"^3.0.0","mocha":"^5.1.0","webpack":"^4.5.0"},"gitHead":"45e09f4a91ee32c809a45edc6a76ef69c71a6b63","_id":"abab@2.0.5","_nodeVersion":"10.19.0","_npmVersion":"6.14.4","dist":{"shasum":"c0b678fb32d60fc1219c784d6a826fe385aeb79a","size":4964,"noattachment":false,"key":"/abab/-/abab-2.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/abab/download/abab-2.0.5.tgz"},"maintainers":[{"name":"jeffcarp","email":"gcarpenterv@gmail.com"}],"_npmUser":{"name":"jeffcarp","email":"gcarpenterv@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/abab_2.0.5_1599851469496_0.7216035947127744"},"_hasShrinkwrap":false,"publish_time":1599851469611,"_cnpm_publish_time":1599851469611,"deprecated":"Use your platform's native atob() and btoa() methods instead"},"2.0.4":{"name":"abab","version":"2.0.4","description":"WHATWG spec-compliant implementations of window.atob and window.btoa.","main":"index.js","scripts":{"mocha":"mocha test/node","karma":"karma start","test":"npm run lint && npm run mocha && npm run karma","lint":"eslint ."},"repository":{"type":"git","url":"git+https://github.com/jsdom/abab.git"},"keywords":["atob","btoa","browser"],"author":{"name":"Jeff Carpenter","email":"gcarpenterv@gmail.com"},"license":"BSD-3-Clause","bugs":{"url":"https://github.com/jsdom/abab/issues"},"homepage":"https://github.com/jsdom/abab#readme","devDependencies":{"eslint":"^4.19.1","karma":"^2.0.0","karma-cli":"^1.0.1","karma-firefox-launcher":"^1.1.0","karma-mocha":"^1.3.0","karma-webpack":"^3.0.0","mocha":"^5.1.0","webpack":"^4.5.0"},"gitHead":"80a801d748c0c35a0629e22fd7818716255f6065","_id":"abab@2.0.4","_nodeVersion":"10.19.0","_npmVersion":"6.14.4","dist":{"shasum":"6dfa57b417ca06d21b2478f0e638302f99c2405c","size":4875,"noattachment":false,"key":"/abab/-/abab-2.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/abab/download/abab-2.0.4.tgz"},"maintainers":[{"name":"jeffcarp","email":"gcarpenterv@gmail.com"}],"_npmUser":{"name":"jeffcarp","email":"gcarpenterv@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/abab_2.0.4_1596257855104_0.6649911814561462"},"_hasShrinkwrap":false,"publish_time":1596257855236,"_cnpm_publish_time":1596257855236,"deprecated":"Use your platform's native atob() and btoa() methods instead"},"2.0.3":{"name":"abab","version":"2.0.3","description":"WHATWG spec-compliant implementations of window.atob and window.btoa.","main":"index.js","scripts":{"mocha":"mocha test/node","karma":"karma start","test":"npm run lint && npm run mocha && npm run karma","lint":"eslint ."},"repository":{"type":"git","url":"git+https://github.com/jsdom/abab.git"},"keywords":["atob","btoa","browser"],"author":{"name":"Jeff Carpenter","email":"gcarpenterv@gmail.com"},"license":"BSD-3-Clause","bugs":{"url":"https://github.com/jsdom/abab/issues"},"homepage":"https://github.com/jsdom/abab#readme","devDependencies":{"eslint":"^4.19.1","karma":"^2.0.0","karma-cli":"^1.0.1","karma-firefox-launcher":"^1.1.0","karma-mocha":"^1.3.0","karma-webpack":"^3.0.0","mocha":"^5.1.0","webpack":"^4.5.0"},"gitHead":"b435e96d7e3714502f59c932370dbca22f0e6b2c","_id":"abab@2.0.3","_npmVersion":"6.4.1","_nodeVersion":"8.16.2","_npmUser":{"name":"jeffcarp","email":"gcarpenterv@gmail.com"},"dist":{"shasum":"623e2075e02eb2d3f2475e49f99c91846467907a","size":4862,"noattachment":false,"key":"/abab/-/abab-2.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/abab/download/abab-2.0.3.tgz"},"maintainers":[{"name":"jeffcarp","email":"gcarpenterv@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/abab_2.0.3_1573608955095_0.963108963298025"},"_hasShrinkwrap":false,"publish_time":1573608955331,"_cnpm_publish_time":1573608955331,"deprecated":"Use your platform's native atob() and btoa() methods instead"},"2.0.2":{"name":"abab","version":"2.0.2","description":"WHATWG spec-compliant implementations of window.atob and window.btoa.","main":"index.js","scripts":{"mocha":"mocha test/node","karma":"karma start","test":"npm run lint && npm run mocha && npm run karma","lint":"eslint ."},"repository":{"type":"git","url":"git+https://github.com/jsdom/abab.git"},"keywords":["atob","btoa","browser"],"author":{"name":"Jeff Carpenter","email":"gcarpenterv@gmail.com"},"license":"BSD-3-Clause","bugs":{"url":"https://github.com/jsdom/abab/issues"},"homepage":"https://github.com/jsdom/abab#readme","devDependencies":{"eslint":"^4.19.1","karma":"^2.0.0","karma-cli":"^1.0.1","karma-firefox-launcher":"^1.1.0","karma-mocha":"^1.3.0","karma-webpack":"^3.0.0","mocha":"^5.1.0","webpack":"^4.5.0"},"gitHead":"4123c6002cbc94fa8454c938c7ea32161ad201a9","_id":"abab@2.0.2","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"jeffcarp","email":"gcarpenterv@gmail.com"},"dist":{"shasum":"a2fba1b122c69a85caa02d10f9270c7219709a9d","size":4825,"noattachment":false,"key":"/abab/-/abab-2.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/abab/download/abab-2.0.2.tgz"},"maintainers":[{"name":"jeffcarp","email":"gcarpenterv@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/abab_2.0.2_1569365447695_0.08806393990755024"},"_hasShrinkwrap":false,"publish_time":1569365447819,"_cnpm_publish_time":1569365447819,"deprecated":"Use your platform's native atob() and btoa() methods instead"},"2.0.1":{"name":"abab","version":"2.0.1","description":"WHATWG spec-compliant implementations of window.atob and window.btoa.","main":"index.js","scripts":{"mocha":"mocha test/node","karma":"karma start","test":"npm run lint && npm run mocha && npm run karma","lint":"eslint ."},"repository":{"type":"git","url":"git+https://github.com/jsdom/abab.git"},"keywords":["atob","btoa","browser"],"author":{"name":"Jeff Carpenter","email":"gcarpenterv@gmail.com"},"license":"SEE LICENSE IN LICENSE.md","bugs":{"url":"https://github.com/jsdom/abab/issues"},"homepage":"https://github.com/jsdom/abab#readme","devDependencies":{"eslint":"^4.19.1","karma":"^2.0.0","karma-cli":"^1.0.1","karma-firefox-launcher":"^1.1.0","karma-mocha":"^1.3.0","karma-webpack":"^3.0.0","mocha":"^5.1.0","webpack":"^4.5.0"},"gitHead":"fe373a7a8bcc241bb5dbadf17d52ff837faf0036","_id":"abab@2.0.1","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"jeffcarp","email":"gcarpenterv@gmail.com"},"dist":{"shasum":"3fa17797032b71410ec372e11668f4b4ffc86a82","size":4806,"noattachment":false,"key":"/abab/-/abab-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/abab/download/abab-2.0.1.tgz"},"maintainers":[{"name":"jeffcarp","email":"gcarpenterv@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/abab_2.0.1_1567032821013_0.8430686163930352"},"_hasShrinkwrap":false,"publish_time":1567032821111,"_cnpm_publish_time":1567032821111,"deprecated":"Use your platform's native atob() and btoa() methods instead"},"2.0.0":{"name":"abab","version":"2.0.0","description":"WHATWG spec-compliant implementations of window.atob and window.btoa.","main":"index.js","files":["index.js","lib/"],"scripts":{"mocha":"mocha test/node","karma":"karma start","test":"npm run lint && npm run mocha && npm run karma","lint":"eslint ."},"repository":{"type":"git","url":"git+https://github.com/jsdom/abab.git"},"keywords":["atob","btoa","browser"],"author":{"name":"Jeff Carpenter","email":"gcarpenterv@gmail.com"},"license":"SEE LICENSE IN LICENSE.md","bugs":{"url":"https://github.com/jsdom/abab/issues"},"homepage":"https://github.com/jsdom/abab#readme","devDependencies":{"eslint":"^4.19.1","karma":"^2.0.0","karma-cli":"^1.0.1","karma-firefox-launcher":"^1.1.0","karma-mocha":"^1.3.0","karma-webpack":"^3.0.0","mocha":"^5.1.0","webpack":"^4.5.0"},"gitHead":"17bfbfa3cf0dcffc06af34f494080feadc20543d","_id":"abab@2.0.0","_npmVersion":"5.8.0","_nodeVersion":"8.9.4","_npmUser":{"name":"jeffcarp","email":"gcarpenterv@gmail.com"},"dist":{"shasum":"aba0ab4c5eee2d4c79d3487d85450fb2376ebb0f","size":4653,"noattachment":false,"key":"/abab/-/abab-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/abab/download/abab-2.0.0.tgz"},"maintainers":[{"name":"jeffcarp","email":"gcarpenterv@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/abab_2.0.0_1524257404375_0.18873675120103783"},"_hasShrinkwrap":false,"publish_time":1524257404550,"_cnpm_publish_time":1524257404550,"deprecated":"Use your platform's native atob() and btoa() methods instead"},"1.0.4":{"name":"abab","version":"1.0.4","description":"WHATWG spec-compliant implementations of window.atob and window.btoa.","main":"index.js","files":["index.js","lib/"],"scripts":{"mocha":"mocha test/node","karma":"karma start","test":"npm run lint && npm run mocha && npm run karma","lint":"jscs . && eslint ."},"repository":{"type":"git","url":"git+https://github.com/jsdom/abab.git"},"keywords":["atob","btoa","browser"],"author":{"name":"Jeff Carpenter","email":"gcarpenterv@gmail.com"},"license":"ISC","bugs":{"url":"https://github.com/jsdom/abab/issues"},"homepage":"https://github.com/jsdom/abab#readme","devDependencies":{"babel-core":"^6.1.4","babel-loader":"^6.1.0","babel-preset-es2015":"^6.1.4","eslint":"^1.3.1","jscs":"^2.1.1","karma":"^0.13.10","karma-cli":"^0.1.1","karma-firefox-launcher":"^0.1.6","karma-mocha":"^0.2.0","karma-sauce-launcher":"^0.2.14","karma-webpack":"^1.7.0","mocha":"^2.2.5","webpack":"^1.12.2"},"gitHead":"c98068b06b4321949a8195408360ca84140d795d","_id":"abab@1.0.4","_shasum":"5faad9c2c07f60dd76770f71cf025b62a63cfd4e","_from":".","_npmVersion":"2.15.9","_nodeVersion":"4.5.0","_npmUser":{"name":"jeffcarp","email":"gcarpenterv@gmail.com"},"dist":{"shasum":"5faad9c2c07f60dd76770f71cf025b62a63cfd4e","size":4675,"noattachment":false,"key":"/abab/-/abab-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/abab/download/abab-1.0.4.tgz"},"maintainers":[{"name":"jeffcarp","email":"gcarpenterv@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/abab-1.0.4.tgz_1505957653831_0.4382179556414485"},"directories":{},"publish_time":1505957653957,"_cnpm_publish_time":1505957653957,"_hasShrinkwrap":false,"deprecated":"Use your platform's native atob() and btoa() methods instead"},"1.0.3":{"name":"abab","version":"1.0.3","description":"WHATWG spec-compliant implementations of window.atob and window.btoa.","main":"index.js","files":["index.js","lib/"],"scripts":{"mocha":"mocha test/node","karma":"karma start","test":"npm run lint && npm run mocha && npm run karma","lint":"jscs . && eslint ."},"repository":{"type":"git","url":"git+https://github.com/jsdom/abab.git"},"keywords":["atob","btoa","browser"],"author":{"name":"Jeff Carpenter","email":"gcarpenterv@gmail.com"},"license":"ISC","bugs":{"url":"https://github.com/jsdom/abab/issues"},"homepage":"https://github.com/jsdom/abab#readme","devDependencies":{"babel-core":"^6.1.4","babel-loader":"^6.1.0","babel-preset-es2015":"^6.1.4","eslint":"^1.3.1","jscs":"^2.1.1","karma":"^0.13.10","karma-cli":"^0.1.1","karma-firefox-launcher":"^0.1.6","karma-mocha":"^0.2.0","karma-sauce-launcher":"^0.2.14","karma-webpack":"^1.7.0","mocha":"^2.2.5","webpack":"^1.12.2"},"gitHead":"223c06f29e0e4d4f3bc11164f762898474158c3a","_id":"abab@1.0.3","_shasum":"b81de5f7274ec4e756d797cd834f303642724e5d","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.2","_npmUser":{"name":"jeffcarp","email":"gcarpenterv@gmail.com"},"dist":{"shasum":"b81de5f7274ec4e756d797cd834f303642724e5d","size":3866,"noattachment":false,"key":"/abab/-/abab-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/abab/download/abab-1.0.3.tgz"},"maintainers":[{"name":"jeffcarp","email":"gcarpenterv@gmail.com"}],"directories":{},"publish_time":1452561899282,"_cnpm_publish_time":1452561899282,"_hasShrinkwrap":false,"deprecated":"Use your platform's native atob() and btoa() methods instead"},"1.0.2":{"name":"abab","version":"1.0.2","description":"WHATWG spec-compliant implementations of window.atob and window.btoa.","main":"index.js","files":["index.js","lib/"],"scripts":{"mocha":"mocha test/node","karma":"karma start","test":"npm run lint && npm run mocha && npm run karma","lint":"jscs . && eslint ."},"repository":{"type":"git","url":"git+https://github.com/jsdom/abab.git"},"keywords":["atob","btoa","browser"],"author":{"name":"Jeff Carpenter","email":"gcarpenterv@gmail.com"},"license":"ISC","bugs":{"url":"https://github.com/jsdom/abab/issues"},"homepage":"https://github.com/jsdom/abab#readme","devDependencies":{"babel-core":"^6.1.4","babel-loader":"^6.1.0","babel-preset-es2015":"^6.1.4","eslint":"^1.3.1","jscs":"^2.1.1","karma":"^0.13.10","karma-cli":"^0.1.1","karma-firefox-launcher":"^0.1.6","karma-mocha":"^0.2.0","karma-sauce-launcher":"^0.2.14","karma-webpack":"^1.7.0","mocha":"^2.2.5","webpack":"^1.12.2"},"gitHead":"0797773407fc683fbb4d8dfd14347060ee02a250","_id":"abab@1.0.2","_shasum":"f0413a3ff7aee92e73f90f7298577457fdcb0f32","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.2","_npmUser":{"name":"jeffcarp","email":"gcarpenterv@gmail.com"},"dist":{"shasum":"f0413a3ff7aee92e73f90f7298577457fdcb0f32","size":3701,"noattachment":false,"key":"/abab/-/abab-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/abab/download/abab-1.0.2.tgz"},"maintainers":[{"name":"jeffcarp","email":"gcarpenterv@gmail.com"}],"directories":{},"publish_time":1451515250762,"_cnpm_publish_time":1451515250762,"_hasShrinkwrap":false,"deprecated":"Use your platform's native atob() and btoa() methods instead"},"1.0.1":{"name":"abab","version":"1.0.1","description":"WHATWG spec-compliant implementations of window.atob and window.btoa.","main":"index.js","files":["index.js","lib/"],"scripts":{"mocha":"mocha test/node","karma":"karma start","test":"npm run lint && npm run mocha && npm run karma","lint":"jscs . && eslint ."},"repository":{"type":"git","url":"git+https://github.com/jsdom/abab.git"},"keywords":["atob","btoa","browser"],"author":{"name":"Jeff Carpenter","email":"gcarpenterv@gmail.com"},"license":"ISC","bugs":{"url":"https://github.com/jsdom/abab/issues"},"homepage":"https://github.com/jsdom/abab#readme","devDependencies":{"babel-core":"^6.1.4","babel-loader":"^6.1.0","babel-preset-es2015":"^6.1.4","eslint":"^1.3.1","jscs":"^2.1.1","karma":"^0.13.10","karma-cli":"^0.1.1","karma-firefox-launcher":"^0.1.6","karma-mocha":"^0.2.0","karma-sauce-launcher":"^0.2.14","karma-webpack":"^1.7.0","mocha":"^2.2.5","webpack":"^1.12.2"},"gitHead":"7deb5d159e5cf31399522778beb01ef81b4cb655","_id":"abab@1.0.1","_shasum":"44e1867bb948633aa9b4c45ada44f0bb2dcce392","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.2","_npmUser":{"name":"jeffcarp","email":"gcarpenterv@gmail.com"},"dist":{"shasum":"44e1867bb948633aa9b4c45ada44f0bb2dcce392","size":3703,"noattachment":false,"key":"/abab/-/abab-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/abab/download/abab-1.0.1.tgz"},"maintainers":[{"name":"jeffcarp","email":"gcarpenterv@gmail.com"}],"directories":{},"publish_time":1447456876230,"_cnpm_publish_time":1447456876230,"_hasShrinkwrap":false,"deprecated":"Use your platform's native atob() and btoa() methods instead"},"1.0.0":{"name":"abab","version":"1.0.0","description":"WHATWG spec-compliant implementations of window.atob and window.btoa.","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/jsdom/abab.git"},"keywords":["atob","btoa","browser"],"author":{"name":"Jeff Carpenter","email":"gcarpenterv@gmail.com"},"license":"ISC","bugs":{"url":"https://github.com/jsdom/abab/issues"},"homepage":"https://github.com/jsdom/abab#readme","devDependencies":{"mocha":"^2.2.5"},"gitHead":"581865c4fe8c15c26aef3c01285bc184132bb72a","_id":"abab@1.0.0","_shasum":"744a3c2624484fa5c2393752053580aedec71b2d","_from":".","_npmVersion":"2.13.3","_nodeVersion":"3.2.0","_npmUser":{"name":"jeffcarp","email":"gcarpenterv@gmail.com"},"dist":{"shasum":"744a3c2624484fa5c2393752053580aedec71b2d","size":5491,"noattachment":false,"key":"/abab/-/abab-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/abab/download/abab-1.0.0.tgz"},"maintainers":[{"name":"jeffcarp","email":"gcarpenterv@gmail.com"}],"directories":{},"publish_time":1441147755325,"_cnpm_publish_time":1441147755325,"_hasShrinkwrap":false,"deprecated":"Use your platform's native atob() and btoa() methods instead"}},"readme":"# abab [![npm version](https://badge.fury.io/js/abab.svg)](https://www.npmjs.com/package/abab) [![Build Status](https://travis-ci.org/jsdom/abab.svg?branch=master)](https://travis-ci.org/jsdom/abab)\n\nA JavaScript module that implements `window.atob` and `window.btoa` according the forgiving-base64 algorithm in the [Infra Standard](https://infra.spec.whatwg.org/#forgiving-base64). The original code was forked from [w3c/web-platform-tests](https://github.com/w3c/web-platform-tests/blob/master/html/webappapis/atob/base64.html).\n\nCompatibility: Node.js version 3+ and all major browsers.\n\nInstall with `npm`:\n\n```sh\nnpm install abab\n```\n\n## API\n\n### `btoa` (base64 encode)\n\n```js\nconst { btoa } = require('abab');\nbtoa('Hello, world!'); // 'SGVsbG8sIHdvcmxkIQ=='\n```\n\n### `atob` (base64 decode)\n\n```js \nconst { atob } = require('abab');\natob('SGVsbG8sIHdvcmxkIQ=='); // 'Hello, world!'\n```\n\n#### Valid characters\n\n[Per the spec](https://html.spec.whatwg.org/multipage/webappapis.html#atob:dom-windowbase64-btoa-3), `btoa` will accept strings \"containing only characters in the range `U+0000` to `U+00FF`.\" If passed a string with characters above `U+00FF`, `btoa` will return `null`. If `atob` is passed a string that is not base64-valid, it will also return `null`. In both cases when `null` is returned, the spec calls for throwing a `DOMException` of type `InvalidCharacterError`.\n\n## Browsers\n\nIf you want to include just one of the methods to save bytes in your client-side code, you can `require` the desired module directly.\n\n```js\nconst atob = require('abab/lib/atob');\nconst btoa = require('abab/lib/btoa');\n```\n\n## Development\n\nIf you're **submitting a PR** or **deploying to npm**, please use the [checklists in CONTRIBUTING.md](CONTRIBUTING.md#checklists).\n\n## Remembering what `atob` and `btoa` stand for\n\nBase64 comes from IETF [RFC 4648](https://tools.ietf.org/html/rfc4648#section-4) (2006). \n\n- **`btoa`**, the encoder function, stands for **binary** to **ASCII**, meaning it converts any binary input into a subset of **ASCII** (Base64).\n- **`atob`**, the decoder function, converts **ASCII** (or Base64) to its original **binary** format. \n","_attachments":{},"homepage":"https://github.com/jsdom/abab#readme","bugs":{"url":"https://github.com/jsdom/abab/issues"},"license":"BSD-3-Clause"}