{"_id":"b64ab","name":"b64ab","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"b64ab","version":"0.0.1","description":"Convert between Base-64 Strings and ArrayBuffer Objects. Simple. Isomorphic. Light-weight.","main":"b64ab.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"git+https://github.com/DanielJDufour/b64ab.git"},"keywords":["arraybuffer","base64","base-64","binary","buffer","data","string"],"author":{"name":"Daniel J. Dufour"},"license":"CC0-1.0","bugs":{"url":"https://github.com/DanielJDufour/b64ab/issues"},"homepage":"https://github.com/DanielJDufour/b64ab#readme","gitHead":"68be00fe013eebe2f1b563d6b49786c4cc25abb4","_id":"b64ab@0.0.1","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-ZJsfScQB2vf7nKx/FQ8FyHQb8huQQcJ3lljak04DVReEMoGSg4zXyRLCsFEKcRKc6HGIgJ3tHsJiE4tcm7/HJA==","shasum":"b86b1cf6d14324406d4fb0ec5b79298302948846","tarball":"https://registry.npmjs.org/b64ab/-/b64ab-0.0.1.tgz","fileCount":4,"unpackedSize":10558,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC63w5ZXEgNTVFZAeFzV+bOhuKt8dEbCXHoriUEhuFr4AIgMDRko3GZraM2eMXxtxsglCgrFXm8vNOYjHiecEJbzSc="}]},"_npmUser":{"name":"danieljdufour","email":"daniel.j.dufour@gmail.com"},"directories":{},"maintainers":[{"name":"danieljdufour","email":"daniel.j.dufour@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/b64ab_0.0.1_1683987821149_0.6859826948091614"},"_hasShrinkwrap":false}},"time":{"created":"2023-05-13T14:23:41.148Z","0.0.1":"2023-05-13T14:23:41.296Z","modified":"2023-05-13T14:23:41.460Z"},"maintainers":[{"name":"danieljdufour","email":"daniel.j.dufour@gmail.com"}],"description":"Convert between Base-64 Strings and ArrayBuffer Objects. Simple. Isomorphic. Light-weight.","homepage":"https://github.com/DanielJDufour/b64ab#readme","keywords":["arraybuffer","base64","base-64","binary","buffer","data","string"],"repository":{"type":"git","url":"git+https://github.com/DanielJDufour/b64ab.git"},"author":{"name":"Daniel J. Dufour"},"bugs":{"url":"https://github.com/DanielJDufour/b64ab/issues"},"license":"CC0-1.0","readme":"# b64ab\n\n### install\n```js\nnpm install b64ab\n```\n\n### usage\n```js\nimport { toBase64String, toArrayBuffer } from \"b64ab\";\n\n// create an Array Buffer\nconst ab = Uint8Array.from([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]).buffer;\n\n// convert an Array Buffer to a Base-64 String\ntoBase64String(ab);\n\"AQIDBAUGBwgJCg==\"\n\n// convert a Base-64 String to an Array Buffer\ntoArrayBuffer(\"AQIDBAUGBwgJCg==\")\nArrayBuffer {\n  [Uint8Contents]: <01 02 03 04 05 06 07 08 09 0a>,\n  byteLength: 10\n}\n```","readmeFilename":"README.md"}