{"_id":"b64","_rev":"58088","name":"b64","description":"Base64 streaming encoder and decoder","dist-tags":{"latest":"4.1.2"},"maintainers":[{"name":"devinivy","email":"devin@bigroomstudios.com"},{"name":"marsup","email":"marsup@gmail.com"},{"name":"nargonath","email":"jonas.pauthier@gmail.com"},{"name":"nlf","email":""}],"time":{"modified":"2021-06-03T10:17:49.000Z","created":"2011-08-04T22:22:13.789Z","4.1.2":"2018-11-03T00:15:39.323Z","4.1.1":"2018-11-01T07:24:47.892Z","4.1.0":"2018-10-31T01:16:04.393Z","4.0.0":"2017-09-26T05:54:55.741Z","3.0.3":"2017-07-31T15:29:39.577Z","3.0.2":"2016-07-28T19:40:32.789Z","3.0.1":"2016-05-19T18:02:53.302Z","3.0.0":"2015-10-31T19:59:39.069Z","2.0.1":"2015-06-28T01:55:17.851Z","2.0.0":"2014-09-28T05:17:36.075Z","1.0.1":"2011-11-19T18:25:31.905Z","1.0.0":"2011-08-04T22:22:13.789Z"},"users":{"shanewholloway":true,"irj":true,"injms":true},"repository":{"type":"git","url":"git://github.com/hapijs/b64.git"},"versions":{"4.1.2":{"name":"b64","description":"Base64 streaming encoder and decoder","version":"4.1.2","repository":{"type":"git","url":"git://github.com/hapijs/b64.git"},"main":"lib/index.js","keywords":["buffer","base64","decode","encode","stream"],"dependencies":{"hoek":"6.x.x"},"devDependencies":{"code":"5.x.x","lab":"17.x.x","wreck":"14.x.x"},"scripts":{"test":"lab -a code -t 100 -L","test-cov-html":"lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"37bdf322ea01cddb2154057a4b893cf03e36ed50","bugs":{"url":"https://github.com/hapijs/b64/issues"},"homepage":"https://github.com/hapijs/b64#readme","_id":"b64@4.1.2","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"hueniverse","email":"eran@hammer.io"},"dist":{"shasum":"7015372ba8101f7fb18da070717a93c28c8580d8","size":3228,"noattachment":false,"key":"/b64/-/b64-4.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/b64/download/b64-4.1.2.tgz"},"maintainers":[{"name":"devinivy","email":"devin@bigroomstudios.com"},{"name":"marsup","email":"marsup@gmail.com"},{"name":"nargonath","email":"jonas.pauthier@gmail.com"},{"name":"nlf","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/b64_4.1.2_1541204139160_0.8517130905766612"},"_hasShrinkwrap":false,"publish_time":1541204139323,"_cnpm_publish_time":1541204139323,"deprecated":"This module has moved and is now available at @hapi/b64. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues."},"4.1.1":{"name":"b64","description":"Base64 streaming encoder and decoder","version":"4.1.1","repository":{"type":"git","url":"git://github.com/hapijs/b64.git"},"main":"lib/index.js","keywords":["buffer","base64","decode","encode","stream"],"engines":{"node":">=8.12.0"},"dependencies":{"hoek":"6.x.x"},"devDependencies":{"code":"5.x.x","lab":"17.x.x","wreck":"14.x.x"},"scripts":{"test":"lab -a code -t 100 -L","test-cov-html":"lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"d89bde981124b22192e1ac88fc353c579eafe769","bugs":{"url":"https://github.com/hapijs/b64/issues"},"homepage":"https://github.com/hapijs/b64#readme","_id":"b64@4.1.1","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"hueniverse","email":"eran@hammer.io"},"dist":{"shasum":"880aa9de694f1a3429d5285c6937cb0f513740bf","size":3249,"noattachment":false,"key":"/b64/-/b64-4.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/b64/download/b64-4.1.1.tgz"},"maintainers":[{"name":"devinivy","email":"devin@bigroomstudios.com"},{"name":"marsup","email":"marsup@gmail.com"},{"name":"nargonath","email":"jonas.pauthier@gmail.com"},{"name":"nlf","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/b64_4.1.1_1541057087759_0.3116660900562216"},"_hasShrinkwrap":false,"publish_time":1541057087892,"_cnpm_publish_time":1541057087892,"deprecated":"This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial)."},"4.1.0":{"name":"b64","description":"Base64 streaming encoder and decoder","version":"4.1.0","repository":{"type":"git","url":"git://github.com/hapijs/b64.git"},"main":"lib/index.js","keywords":["buffer","base64","decode","encode","stream"],"engines":{"node":">=8.12.0"},"dependencies":{"hoek":"5.x.x"},"devDependencies":{"code":"5.x.x","lab":"17.x.x","wreck":"14.x.x"},"scripts":{"test":"lab -a code -t 100 -L","test-cov-html":"lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"054970de4c06c3b2240fb527175720164b419005","bugs":{"url":"https://github.com/hapijs/b64/issues"},"homepage":"https://github.com/hapijs/b64#readme","_id":"b64@4.1.0","_npmVersion":"6.4.1","_nodeVersion":"11.0.0","_npmUser":{"name":"hueniverse","email":"eran@hammer.io"},"dist":{"shasum":"6a90a91c447a44c5555c180a35f33245685c9fc7","size":3249,"noattachment":false,"key":"/b64/-/b64-4.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/b64/download/b64-4.1.0.tgz"},"maintainers":[{"name":"devinivy","email":"devin@bigroomstudios.com"},{"name":"marsup","email":"marsup@gmail.com"},{"name":"nargonath","email":"jonas.pauthier@gmail.com"},{"name":"nlf","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/b64_4.1.0_1540948564259_0.5479080547331256"},"_hasShrinkwrap":false,"publish_time":1540948564393,"_cnpm_publish_time":1540948564393,"deprecated":"This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial)."},"4.0.0":{"name":"b64","description":"Base64 streaming encoder and decoder","version":"4.0.0","repository":{"type":"git","url":"git://github.com/hapijs/b64.git"},"main":"lib/index.js","keywords":["buffer","base64","decode","encode","stream"],"engines":{"node":">=8.0.0"},"dependencies":{},"devDependencies":{"code":"5.x.x","lab":"14.x.x","wreck":"13.x.x"},"scripts":{"test":"lab -a code -t 100 -L","test-cov-html":"lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"93f48d3e83e1db668a2e0240bcc1914ae4ae5635","bugs":{"url":"https://github.com/hapijs/b64/issues"},"homepage":"https://github.com/hapijs/b64#readme","_id":"b64@4.0.0","_npmVersion":"5.4.2","_nodeVersion":"8.4.0","_npmUser":{"name":"hueniverse","email":"eran@hammer.io"},"dist":{"shasum":"c37f587f0a383c7019e821120e8c3f58f0d22772","size":2896,"noattachment":false,"key":"/b64/-/b64-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/b64/download/b64-4.0.0.tgz"},"maintainers":[{"name":"devinivy","email":"devin@bigroomstudios.com"},{"name":"marsup","email":"marsup@gmail.com"},{"name":"nargonath","email":"jonas.pauthier@gmail.com"},{"name":"nlf","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/b64-4.0.0.tgz_1506405295666_0.5807233317755163"},"directories":{},"publish_time":1506405295741,"_hasShrinkwrap":false,"_cnpm_publish_time":1506405295741,"deprecated":"This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial)."},"3.0.3":{"name":"b64","description":"Base64 streaming encoder and decoder","version":"3.0.3","repository":{"type":"git","url":"git://github.com/hapijs/b64.git"},"main":"lib/index.js","keywords":["buffer","base64","decode","encode","stream"],"engines":{"node":">=4.0.0"},"dependencies":{},"devDependencies":{"lab":"14.x.x","wreck":"12.x.x"},"scripts":{"test":"lab -a code -t 100 -L","test-cov-html":"lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"c679f6d1f325b2e25246082dfd9f4ed7cd49b7d4","bugs":{"url":"https://github.com/hapijs/b64/issues"},"homepage":"https://github.com/hapijs/b64#readme","_id":"b64@3.0.3","_npmVersion":"5.3.0","_nodeVersion":"8.2.1","_npmUser":{"name":"wyatt","email":"wpreul@gmail.com"},"dist":{"shasum":"36afeee0d9345f046387ce6de8a6702afe5bb56e","size":2915,"noattachment":false,"key":"/b64/-/b64-3.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/b64/download/b64-3.0.3.tgz"},"maintainers":[{"name":"devinivy","email":"devin@bigroomstudios.com"},{"name":"marsup","email":"marsup@gmail.com"},{"name":"nargonath","email":"jonas.pauthier@gmail.com"},{"name":"nlf","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/b64-3.0.3.tgz_1501514978640_0.9414911908097565"},"directories":{},"publish_time":1501514979577,"_hasShrinkwrap":false,"_cnpm_publish_time":1501514979577,"deprecated":"This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial)."},"3.0.2":{"name":"b64","description":"Base64 streaming encoder and decoder","version":"3.0.2","repository":{"type":"git","url":"git://github.com/hapijs/b64.git"},"main":"lib/index.js","keywords":["buffer","base64","decode","encode","stream"],"engines":{"node":">=4.0.0"},"dependencies":{},"devDependencies":{"code":"3.x.x","lab":"10.x.x","wreck":"8.x.x"},"scripts":{"test":"lab -a code -t 100 -L","test-cov-html":"lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"2fa2317765b7942c2b0b0ed88e08b47d1bb05df4","bugs":{"url":"https://github.com/hapijs/b64/issues"},"homepage":"https://github.com/hapijs/b64#readme","_id":"b64@3.0.2","_shasum":"7a9d60466adf7b8de114cbdf651a5fdfcc90894d","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"hueniverse","email":"eran@hammer.io"},"dist":{"shasum":"7a9d60466adf7b8de114cbdf651a5fdfcc90894d","size":2952,"noattachment":false,"key":"/b64/-/b64-3.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/b64/download/b64-3.0.2.tgz"},"maintainers":[{"name":"devinivy","email":"devin@bigroomstudios.com"},{"name":"marsup","email":"marsup@gmail.com"},{"name":"nargonath","email":"jonas.pauthier@gmail.com"},{"name":"nlf","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/b64-3.0.2.tgz_1469734830752_0.9817460482008755"},"directories":{},"publish_time":1469734832789,"_cnpm_publish_time":1469734832789,"_hasShrinkwrap":false,"deprecated":"This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial)."},"3.0.1":{"name":"b64","description":"Base64 streaming encoder and decoder","version":"3.0.1","repository":{"type":"git","url":"git://github.com/hapijs/b64.git"},"main":"lib/index.js","keywords":["buffer","base64","decode","encode","stream"],"engines":{"node":">=4.0.0"},"dependencies":{"hoek":"4.x.x"},"devDependencies":{"code":"2.x.x","lab":"10.x.x","wreck":"7.x.x"},"scripts":{"test":"lab -a code -t 100 -L","test-cov-html":"lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"a9c04ed2d189f2fc19663b8a7d3f01f533ff1bdb","bugs":{"url":"https://github.com/hapijs/b64/issues"},"homepage":"https://github.com/hapijs/b64#readme","_id":"b64@3.0.1","_shasum":"17d7b3f9bf081b5ff31af891739e69528d72605a","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.11.1","_npmUser":{"name":"hueniverse","email":"eran@hammer.io"},"dist":{"shasum":"17d7b3f9bf081b5ff31af891739e69528d72605a","size":4092,"noattachment":false,"key":"/b64/-/b64-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/b64/download/b64-3.0.1.tgz"},"maintainers":[{"name":"devinivy","email":"devin@bigroomstudios.com"},{"name":"marsup","email":"marsup@gmail.com"},{"name":"nargonath","email":"jonas.pauthier@gmail.com"},{"name":"nlf","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/b64-3.0.1.tgz_1463680968124_0.4153116103261709"},"directories":{},"publish_time":1463680973302,"_cnpm_publish_time":1463680973302,"_hasShrinkwrap":false,"deprecated":"This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial)."},"3.0.0":{"name":"b64","description":"Base64 streaming encoder and decoder","version":"3.0.0","repository":{"type":"git","url":"git://github.com/hapijs/b64.git"},"main":"lib/index.js","keywords":["buffer","base64","decode","encode","stream"],"engines":{"node":">=4.0.0"},"dependencies":{"hoek":"3.x.x"},"devDependencies":{"code":"2.x.x","lab":"7.x.x","wreck":"7.x.x"},"scripts":{"test":"lab -a code -t 100 -L","test-cov-html":"lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"522de5ebe21445467c31d7cc64c018705c5a5bfb","bugs":{"url":"https://github.com/hapijs/b64/issues"},"homepage":"https://github.com/hapijs/b64#readme","_id":"b64@3.0.0","_shasum":"32b321cdda0b9b310c762d393aba9201d8e4f217","_from":".","_npmVersion":"3.3.9","_nodeVersion":"4.2.1","_npmUser":{"name":"hueniverse","email":"eran@hammer.io"},"dist":{"shasum":"32b321cdda0b9b310c762d393aba9201d8e4f217","size":4061,"noattachment":false,"key":"/b64/-/b64-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/b64/download/b64-3.0.0.tgz"},"maintainers":[{"name":"devinivy","email":"devin@bigroomstudios.com"},{"name":"marsup","email":"marsup@gmail.com"},{"name":"nargonath","email":"jonas.pauthier@gmail.com"},{"name":"nlf","email":""}],"directories":{},"publish_time":1446321579069,"_cnpm_publish_time":1446321579069,"_hasShrinkwrap":false,"deprecated":"This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial)."},"2.0.1":{"name":"b64","description":"Base64 streaming encoder and decoder","version":"2.0.1","repository":{"type":"git","url":"git://github.com/hapijs/b64.git"},"main":"lib/index.js","keywords":["buffer","base64","decode","encode","stream"],"engines":{"node":">=0.10.32"},"dependencies":{"hoek":"2.x.x"},"devDependencies":{"code":"1.x.x","lab":"5.x.x","wreck":"5.x.x"},"scripts":{"test":"lab -a code -t 100 -L","test-cov-html":"lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"2db9a38dae2534728c31a635265028fb6e25abdd","bugs":{"url":"https://github.com/hapijs/b64/issues"},"homepage":"https://github.com/hapijs/b64#readme","_id":"b64@2.0.1","_shasum":"d08c10719719ff1fe1b532ae49269409ce149ce9","_from":".","_npmVersion":"2.10.0","_nodeVersion":"0.10.38","_npmUser":{"name":"hueniverse","email":"eran@hammer.io"},"dist":{"shasum":"d08c10719719ff1fe1b532ae49269409ce149ce9","size":4009,"noattachment":false,"key":"/b64/-/b64-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/b64/download/b64-2.0.1.tgz"},"maintainers":[{"name":"devinivy","email":"devin@bigroomstudios.com"},{"name":"marsup","email":"marsup@gmail.com"},{"name":"nargonath","email":"jonas.pauthier@gmail.com"},{"name":"nlf","email":""}],"directories":{},"publish_time":1435456517851,"_cnpm_publish_time":1435456517851,"_hasShrinkwrap":false,"deprecated":"This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial)."},"2.0.0":{"name":"b64","description":"Base64 streaming encoder and decoder","version":"2.0.0","repository":{"type":"git","url":"git://github.com/hapijs/b64"},"main":"index","keywords":["buffer","base64","decode","encode","stream"],"engines":{"node":">=0.10.32"},"dependencies":{"hoek":"2.x.x"},"devDependencies":{"lab":"4.x.x","wreck":"5.x.x"},"scripts":{"test":"make test-cov"},"licenses":[{"type":"BSD","url":"http://github.com/hapijs/b64/raw/master/LICENSE"}],"gitHead":"20efae632067b253b3db1bb5217268a5ffd47116","bugs":{"url":"https://github.com/hapijs/b64/issues"},"homepage":"https://github.com/hapijs/b64","_id":"b64@2.0.0","_shasum":"b5995b24f47ebfd9f131017a6e7b5d64756fb6f3","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"hueniverse","email":"eran@hueniverse.com"},"maintainers":[{"name":"devinivy","email":"devin@bigroomstudios.com"},{"name":"marsup","email":"marsup@gmail.com"},{"name":"nargonath","email":"jonas.pauthier@gmail.com"},{"name":"nlf","email":""}],"dist":{"shasum":"b5995b24f47ebfd9f131017a6e7b5d64756fb6f3","size":4156,"noattachment":false,"key":"/b64/-/b64-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/b64/download/b64-2.0.0.tgz"},"directories":{},"publish_time":1411881456075,"_cnpm_publish_time":1411881456075,"_hasShrinkwrap":false,"deprecated":"This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial)."},"1.0.1":{"author":{"name":"Nuno Job","email":"nunojobpinto@gmail.com"},"description":"Base64 encode and decode UTF-8 strings","name":"b64","tags":["base64","encode","decode","base 64","string"],"version":"1.0.1","repository":{"type":"git","url":"git://github.com/dscape/b64.git"},"engines":{"node":">=v0.4.8"},"_npmUser":{"name":"dscape","email":"nunojobpinto@gmail.com"},"_id":"b64@1.0.1","dependencies":{},"devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.106","_nodeVersion":"v0.6.1","_defaultsLoaded":true,"dist":{"shasum":"6da89db8e270b23f42822e9b657ce6c66d16c1c2","size":10240,"noattachment":false,"key":"/b64/-/b64-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/b64/download/b64-1.0.1.tgz"},"maintainers":[{"name":"devinivy","email":"devin@bigroomstudios.com"},{"name":"marsup","email":"marsup@gmail.com"},{"name":"nargonath","email":"jonas.pauthier@gmail.com"},{"name":"nlf","email":""}],"directories":{},"publish_time":1321727131905,"_hasShrinkwrap":false,"deprecated":"This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).","_cnpm_publish_time":1321727131905},"1.0.0":{"author":{"name":"Nuno Job","email":"nunojobpinto@gmail.com"},"description":"Base64 encode and decode UTF-8 strings","name":"b64","tags":["base64","encode","decode","base 64","string"],"version":"1.0.0","repository":{"type":"git","url":"git://github.com/dscape/b64.git"},"engines":{"node":"~v0.4.8"},"_npmJsonOpts":{"file":"/Users/njob/.npm/b64/1.0.0/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"b64@1.0.0","dependencies":{},"devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.22","_nodeVersion":"v0.4.8","_defaultsLoaded":true,"dist":{"shasum":"e1506c588a7d7bd31be964a39376c6b0183bcf4b","size":1241,"noattachment":false,"key":"/b64/-/b64-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/b64/download/b64-1.0.0.tgz"},"scripts":{},"maintainers":[{"name":"devinivy","email":"devin@bigroomstudios.com"},{"name":"marsup","email":"marsup@gmail.com"},{"name":"nargonath","email":"jonas.pauthier@gmail.com"},{"name":"nlf","email":""}],"directories":{},"publish_time":1312496533789,"_hasShrinkwrap":false,"deprecated":"This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).","_cnpm_publish_time":1312496533789}},"readme":"Base64 streaming encoder and decoder\n\n[![Build Status](https://secure.travis-ci.org/hapijs/b64.png)](http://travis-ci.org/hapijs/b64)\n\nLead Maintainer - [Wyatt Preul](https://github.com/geek)\n\n\n## Installation\n\n```sh\nnpm install b64 --save\n```\n\n\n## API\n\n### encode(buffer)\n\nBase64 encode the buffer and return it as a new Buffer.\n\n\n### decode(buffer)\n\nBase64 decode the buffer and return the result as a new buffer.\n\n\n### Encoder\n\nTransform stream that base64 encodes each chunk of the stream.\n\nExample:\n\n```js\n'use strict';\n\nconst Fs = require('fs');\nconst B64 = require('b64');\n\nconst stream = Fs.createReadStream(`${__dirname}/package.json`);\nconst encoder = new B64.Encoder();\n\nstream.pipe(encoder).pipe(process.stdout);\n```\n\n\n### Decoder\n\nTransform stream that base64 decodes each chunk of the stream.\n\nExample:\n\n```js\n'use strict';\n\nconst Fs = require('fs');\nconst B64 = require('b64');\n\nconst stream = Fs.createReadStream(`${__dirname}/encodedfile.b64`);\nconst decoder = new B64.Decoder();\n\nstream.pipe(decoder).pipe(process.stdout);\n```\n\n### base64urlEncode(value)\r\n\r\nEncodes value of string or buffer type in Base64 or URL encoding, function will assert input value is correct.\r\n\r\n### base64urlDecode(value)\r\n\r\nDecodes string into Base64 or URL encoding, function throws an error on invalid input and returns a string or buffer depending on encoding provided.  Default encoding is binary.\r\n","_attachments":{},"homepage":"https://github.com/hapijs/b64#readme","bugs":{"url":"https://github.com/hapijs/b64/issues"},"license":"BSD-3-Clause"}