{"_id":"b64u-lite","_rev":"4-9c7ea25a47af492fdced5205696439f8","name":"b64u-lite","description":"isomorphic base64url library in 358 bytes","dist-tags":{"latest":"1.1.0"},"versions":{"0.0.2":{"name":"b64u-lite","amdName":"b64uLite","version":"0.0.2","description":"isomorphic base64url library in 194 bytes","main":"dist/b64u-lite.js","module":"dist/b64u-lite.mjs","files":["dist","bundle"],"scripts":{"pretest":"npm run build","test":"node test.js","build":"npm run build:unbundled && npm run build:bundle","build:unbundled":"microbundle --entry index.mjs --output dist --external all --compress false","build:bundle":"microbundle --entry index.mjs --output bundle --target browser","release":"npm test && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"},"repository":{"type":"git","url":"git+https://github.com/kevlened/b64u-lite.git"},"keywords":["isomorphic","base64url","b64u"],"license":"MIT","bugs":{"url":"https://github.com/kevlened/b64u-lite/issues"},"homepage":"https://github.com/kevlened/b64u-lite#readme","dependencies":{"b64-lite":"^1.1.1"},"devDependencies":{"microbundle":"^0.2.4"},"gitHead":"4b746734a7956d4e8bf14bd9847000d1cb37cf7a","_id":"b64u-lite@0.0.2","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"kevlened","email":"boyettel@gmail.com"},"dist":{"integrity":"sha512-T1BpcvCvziRRnH4lq/IwabkB99qk8eeG32xowrXyjiN3PpYM6/xfqJ10wv09fYiyBjqPg7H7eO82T9bAB5nhtA==","shasum":"b9779056a3efc422c26ee56b46b9a83b03bbd296","tarball":"https://registry.npmjs.org/b64u-lite/-/b64u-lite-0.0.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBXABu3yhhv4LYSk1YkTDFOzN//owsiyUO5ezSUlMy0QAiAEgbjmnzFRS58aVqzjXdKTfBkE37xmzyHkWDBjoG2YWg=="}]},"maintainers":[{"name":"kevlened","email":"boyettel@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/b64u-lite-0.0.2.tgz_1515317508080_0.361791122937575"},"directories":{}},"1.0.0":{"name":"b64u-lite","amdName":"b64uLite","version":"1.0.0","description":"isomorphic base64url library in 264 bytes","main":"dist/b64u-lite.js","module":"dist/b64u-lite.mjs","files":["dist","bundle"],"scripts":{"pretest":"npm run build","test":"node test.js","build":"npm run build:unbundled && npm run build:bundle","build:unbundled":"microbundle --entry index.mjs --output dist --external all --compress false","build:bundle":"microbundle --entry index.mjs --output bundle --target browser","release":"npm test && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"},"repository":{"type":"git","url":"git+https://github.com/kevlened/b64u-lite.git"},"keywords":["isomorphic","base64url","b64u"],"license":"MIT","bugs":{"url":"https://github.com/kevlened/b64u-lite/issues"},"homepage":"https://github.com/kevlened/b64u-lite#readme","dependencies":{"b64-lite":"^1.1.1"},"devDependencies":{"microbundle":"^0.2.4"},"gitHead":"44c86301e165e6255a01d3c80562958a54fa6f9b","_id":"b64u-lite@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"kevlened","email":"boyettel@gmail.com"},"dist":{"integrity":"sha512-w7ParDpAqScXCUBkAI2XFWCZmpH/arTHs2fnr1SosiJcmiVRrxPkoAfKD3RBGhYoAicxtO26575dNJar1+uAtA==","shasum":"d4dd565879c40e7222f97ffa607e8fa355d41b12","tarball":"https://registry.npmjs.org/b64u-lite/-/b64u-lite-1.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGJaFbKsK+Spg5WlERbKTgjyTsNzbc0kHRHPMduyunz7AiEA/xq8CXBXvQmMn6dOYDsSIk+TJVQDWlkkomy/35zNrM4="}]},"maintainers":[{"name":"kevlened","email":"boyettel@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/b64u-lite-1.0.0.tgz_1515378128925_0.41797061497345567"},"directories":{}},"1.0.1":{"name":"b64u-lite","amdName":"b64uLite","version":"1.0.1","description":"isomorphic base64url library in 244 bytes","main":"dist/b64u-lite.js","module":"dist/b64u-lite.mjs","files":["dist","bundle"],"scripts":{"pretest":"npm run build","test":"node test.js","build":"npm run build:unbundled && npm run build:bundle","build:unbundled":"microbundle --entry index.mjs --output dist --external all --compress false","build:bundle":"microbundle --entry index.mjs --output bundle --target browser","release":"npm test && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"},"repository":{"type":"git","url":"git+https://github.com/kevlened/b64u-lite.git"},"keywords":["isomorphic","base64url","b64u"],"license":"MIT","bugs":{"url":"https://github.com/kevlened/b64u-lite/issues"},"homepage":"https://github.com/kevlened/b64u-lite#readme","dependencies":{"b64-lite":"^1.1.1"},"devDependencies":{"microbundle":"^0.2.4"},"gitHead":"697ce4e6d49c550590b42795bf304e5c8dd03668","_id":"b64u-lite@1.0.1","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"kevlened","email":"boyettel@gmail.com"},"dist":{"integrity":"sha512-4E6rqyrCnrAdzayWUS8XwFC/vRTBbmR7fgqb/IuHXRM2z63VH/tNxtzDWZhgCXCORTiwy2mIhCtmHyc9TMBj7Q==","shasum":"b19e543bb8715e65cc083d42234c4fe9e4fa18bd","tarball":"https://registry.npmjs.org/b64u-lite/-/b64u-lite-1.0.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDp6jMMWneAvy+r2UOl7wQKoOXjoopRTPbGds3fBGYUHgIgYBMqF50TBiRvgK/nPNqf5LcvPVomMAYJMSkijY43EDY="}]},"maintainers":[{"name":"kevlened","email":"boyettel@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/b64u-lite-1.0.1.tgz_1515378969122_0.7849477764684707"},"directories":{}},"1.1.0":{"name":"b64u-lite","amdName":"b64uLite","version":"1.1.0","description":"isomorphic base64url library in 358 bytes","main":"dist/b64u-lite.js","module":"dist/b64u-lite.mjs","scripts":{"pretest":"npm run build","test":"node test.js","build":"npm run build:unbundled && npm run build:bundle","build:unbundled":"microbundle --entry index.mjs --output dist --external b64-lite --compress false","build:bundle":"microbundle --entry index.mjs --output bundle --external none --target browser","release":"npm test && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"},"repository":{"type":"git","url":"git+https://github.com/kevlened/b64u-lite.git"},"keywords":["isomorphic","base64url","b64u","react","native"],"license":"MIT","bugs":{"url":"https://github.com/kevlened/b64u-lite/issues"},"homepage":"https://github.com/kevlened/b64u-lite#readme","dependencies":{"b64-lite":"^1.4.0"},"devDependencies":{"microbundle":"^0.11.0"},"gitHead":"b95d6899b5d833b91a51ef4b2d7e414549b8454a","_id":"b64u-lite@1.1.0","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-929qWGDVCRph7gQVTC6koHqQIpF4vtVaSbwLltFQo44B1bYUquALswZdBKFfrJCPEnsCOvWkJsPdQYZ/Ukhw8A==","shasum":"a581b7df94cbd4bed7cbb19feae816654f0b1bf0","tarball":"https://registry.npmjs.org/b64u-lite/-/b64u-lite-1.1.0.tgz","fileCount":15,"unpackedSize":20492,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdgRTKCRA9TVsSAnZWagAAYZMP/2knEWnY299oMft9At9s\n/NE1tWxs9M3sOcW9If7CRV9TKVNYzSBUFkk0JO2JnWt2UkGSRiCCBQOZCL/m\n0caVTWwMIGPXqEJPHBzm6Z9JXGOmZQA20JaVWo7hjLD1I16ChnQksReViadF\nXegIMDCeZoUalsbHcMGjYnPTz2ZMXZqjLUa1sHynTufYiVCY4pcLGo4o+S7t\nSsdcejJ33nuMdS+gTs7AO0Dt8LQ5prfeFP9jFZIh/YsJpz40jx027m1HX+Nk\n5jb6vxZDmJjA96Ava2bd+D+/FKw4R/e4ayAz/ly/FB5WH+Uz2zUbDPIqAgRp\nyTDRupsLxN9oCQMlAx4vBHKi5dPTg3UEB2kEuuTlqUAsAPVx+0qAnRvHz/m+\n8nHl3cFmh6Wq6uy6bcYTsAoFT/JUBFrE93anQKod8gJIwaMuBhEZ1vAbMAMu\nz/ok+Dilt0uhDLDZmDtj0V3mWzyYR1mQbKy4YAE53XjNMvcADJ1QI96VnsKO\n2QXU+xM0WxELpAZLHO1xiCosuQfRXquLbMQ//oryEgE9FwxWRMguZ9/b3BMc\nAseNdZJauKDKPK80c6Bm1QQ7ReXPoOXDONaxCr4Sz+FS2S2S5pDS6I1D//0E\ndBE/xri1oT21EHk4IjFABAcZ3YrBbZhqj/+SbdKtccHXLQV8SuLPmrI5oVv4\nvful\r\n=6LBm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQChcdH1/wP1i5E0svCOZEdq+vyOWufZsiC0HIoNEDAs5gIgG/IQ0q2hfdj5UtmTCopI/5TG0xBBwaJxB/5nFGpL/a4="}]},"maintainers":[{"name":"kevlened","email":"boyettel@gmail.com"}],"_npmUser":{"name":"kevlened","email":"boyettel@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/b64u-lite_1.1.0_1568740553862_0.5108684688292422"},"_hasShrinkwrap":false}},"readme":"# b64u-lite [![NPM](https://img.shields.io/npm/v/b64u-lite.svg)](https://npmjs.com/package/b64u-lite) [![Build](https://travis-ci.org/kevlened/b64u-lite.svg?branch=master)](https://travis-ci.org/kevlened/b64u-lite) [![bundlephobia](https://img.shields.io/bundlephobia/minzip/b64u-lite.svg)](https://bundlephobia.com/result?p=b64u-lite)\n\nisomorphic base64url library in 244 bytes\n\n## Usage\n\n```javascript\nconst b64u = require('b64u-lite');\n\nb64u.toBase64Url('hi there? 你好');\n// aGkgdGhlcmU_IOS9oOWlvQ\n\n// add padding\nb64u.toBase64Url('hi there? 你好', true);\n// aGkgdGhlcmU_IOS9oOWlvQ==\n\n// convert a buffer to b64u\nb64u.toBase64Url(new Uint8Array([228, 189, 160, 229, 165, 189]).buffer);\n// 5L2g5aW9\n\n// convert b64u to a buffer\nb64u.toBuffer('5L2g5aW9');\n// new Uint8Array([228, 189, 160, 229, 165, 189]).buffer\n\n// works with or without padding\nb64u.fromBase64Url('aGkgdGhlcmU_IOS9oOWlvQ==');\nb64u.fromBase64Url('aGkgdGhlcmU_IOS9oOWlvQ');\n// hi there? 你好\n\n// equivalent to btoa\nb64u.fromBinaryString('hi there? ');\n// aGkgdGhlcmU_IA\n\n// with padding\nb64u.fromBinaryString('hi there? ', true);\n// aGkgdGhlcmU_IA==\n\n// equivalent to atob\nb64u.toBinaryString('aGkgdGhlcmU=');\n// hi there?\n```\n\n## Can it be smaller?\n\nIf you use ES6 imports with a bundler that supports tree-shaking, yes!\n\n```javascript\nimport { toBase64Url } from 'b64u-lite'\n```\n\n## License\n\nMIT","maintainers":[{"name":"kevlened","email":"boyettel@gmail.com"}],"time":{"modified":"2022-04-11T16:33:22.613Z","created":"2018-01-07T09:31:48.189Z","0.0.2":"2018-01-07T09:31:48.189Z","1.0.0":"2018-01-08T02:22:10.506Z","1.0.1":"2018-01-08T02:36:09.189Z","1.1.0":"2019-09-17T17:15:53.953Z"},"homepage":"https://github.com/kevlened/b64u-lite#readme","keywords":["isomorphic","base64url","b64u","react","native"],"repository":{"type":"git","url":"git+https://github.com/kevlened/b64u-lite.git"},"bugs":{"url":"https://github.com/kevlened/b64u-lite/issues"},"license":"MIT","readmeFilename":"README.md"}