{"_id":"@superhuman/fast64","_rev":"26-af3dd55c4015e3b242fff5aaf007abd5","name":"@superhuman/fast64","dist-tags":{"latest":"0.7.3"},"versions":{"0.6.0":{"name":"@superhuman/fast64","version":"0.6.0","license":"Apache","_id":"@superhuman/fast64@0.6.0","maintainers":[{"name":"cirwin","email":"conrad.irwin@gmail.com"}],"homepage":"https://github.com/ConradIrwin/fast64#readme","bugs":{"url":"https://github.com/ConradIrwin/fast64/issues"},"dist":{"shasum":"58f5147043121402b3bb5bb7724abc16b5834530","tarball":"https://registry.npmjs.org/@superhuman/fast64/-/fast64-0.6.0.tgz","integrity":"sha512-3gSJivACDQQk8pNblmCc+2WG/f70Q+txa4ZPbJNf5GBG35iKHKfmmr0Ikb+mBbwlTWVUU5Ueyo3dPoRO5vx6oQ==","signatures":[{"sig":"MEUCIHsgQZt5/CYzLwr0ON070AOz0jPTuITKlIn/8T9y8aE+AiEAw0M3rVk847XrTtPpcudE/I0fiuVArDe5EeeGdTy/GPc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"58f5147043121402b3bb5bb7724abc16b5834530","gitHead":"f93132c65e2cdba7dd393e25b2636322ef1e8b00","scripts":{},"_npmUser":{"name":"cirwin","email":"conrad.irwin@gmail.com"},"repository":{"url":"git+https://github.com/ConradIrwin/fast64.git","type":"git"},"_npmVersion":"3.10.9","description":"The fastest in-browser base64 library","directories":{},"_nodeVersion":"7.2.0","devDependencies":{"chai":"^3.4.1","mocha":"^2.3.4"},"_npmOperationalInternal":{"tmp":"tmp/fast64-0.6.0.tgz_1501802215066_0.2541637106332928","host":"s3://npm-registry-packages"}},"0.7.0":{"name":"@superhuman/fast64","version":"0.7.0","license":"Apache","_id":"@superhuman/fast64@0.7.0","maintainers":[{"name":"cirwin","email":"conrad.irwin@gmail.com"},{"name":"conrad-superhuman","email":"conrad@superhuman.com"},{"name":"gabeshahbazian","email":"gabeshahbazian@gmail.com"},{"name":"gvohra","email":"gaurav@vohra.org.uk"},{"name":"ibash","email":"islam.sharabash@gmail.com"},{"name":"kakadiya91","email":"kakadiya91@gmail.com"},{"name":"rahulgs12","email":"rgs@superhuman.com"},{"name":"rogueg","email":"rogueg@gmail.com"},{"name":"timsuperhuman","email":"tim@superhuman.com"}],"homepage":"https://github.com/ConradIrwin/fast64#readme","bugs":{"url":"https://github.com/ConradIrwin/fast64/issues"},"dist":{"shasum":"9235e8a6345c68a307fd48bd3a687db4f8c23d15","tarball":"https://registry.npmjs.org/@superhuman/fast64/-/fast64-0.7.0.tgz","fileCount":6,"integrity":"sha512-Virj4DQkLzYNcdtJcXTOv7+WsoVA3L8JVnvl7u+FUW07MIldlum2Z9UgIWow6DVNseRGsSp+bp9PAaC2MSCrLg==","signatures":[{"sig":"MEQCIAuVUFbk8y2WqnPF3M2fBpintdIF3UsJtvY16RTCf9vVAiABKTAN+/g2oUjEaMhmRIHny7okWI6CDju/k3cN71vRKQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":386604,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2crMCRA9TVsSAnZWagAA6EgP/1jrx3S1ryd51p6L8Pz9\n4c8dmLp+HmHM37gpJAltSnnaMpILBAKF6mcqhIhl1GGFLzLdoxeHXbZILM/h\ncMruVohx0QxJlTthOAoWftAO1D2UgbgLYaimySszj1IcjsHJG/LYFHeUoC48\nXSaObXpg4/OSNltCjanqovU5yloBqd3DWCNMdvmzK8tvLemFFExAR4a4rTlx\nEfhNhupxvgSCB6P7snhxCPdLXtCbJfLu3ONyHVfkVi9t9PDbRRfZJoo/eAGn\nBopeTSVY3X18AYjQWcuGq5e7kfZhfpMqL0F4gNFkc3t7YQRBSnvZMW3q+J1i\nZtct3l7exT7ytmXR92nzrTAvjY0e4awJtc7P8MojX6DUO9SaeU6oKxGmeiiL\niaRKW3vFuZMbrhhWgE/mHEOyP1wqWHZi1NA1tCAYCZ+QYqiMOBmx9Bwe1QqD\nvwFHX5QCx72bpoR7ZtistBbkB746vD3yNMf/eEHFGLykQlJXl//EpUir8SWM\nbvYJUx//pTCgkShmSr9A1Nu4QH84Hj3nRwNshP6HIzlCE6pqmkSj/K+k00h7\nVqRcT9wUFLfaeJm5bwlGMzk2OjL7HoNgxlABoilvkSs7cgYeBVrcoAWtlmVz\nK815i0jQnpiWKs14IXfLg0logebCa7DJ6261Ez/+9SgV7X8GkAzqinPDm310\nHRWA\r\n=va78\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"530a48f9080296e2a9f2996d42685c57879b75a2","_npmUser":{"name":"cirwin","email":"conrad.irwin@gmail.com"},"repository":{"url":"git+https://github.com/ConradIrwin/fast64.git","type":"git"},"_npmVersion":"5.6.0","description":"The fastest in-browser base64 library","directories":{},"_nodeVersion":"10.1.0","_hasShrinkwrap":false,"devDependencies":{"chai":"^3.4.1","mocha":"^2.3.4"},"_npmOperationalInternal":{"tmp":"tmp/fast64_0.7.0_1533588912004_0.041836683094861105","host":"s3://npm-registry-packages"}},"0.7.3":{"name":"@superhuman/fast64","version":"0.7.3","license":"Apache","_id":"@superhuman/fast64@0.7.3","maintainers":[{"name":"zindlurb","email":"brian@superhuman.com"},{"name":"alif","email":"me@alifaiz.com"},{"name":"patrickdbakke","email":"patrickdbakke@gmail.com"},{"name":"timsuperhuman","email":"tim@superhuman.com"},{"name":"conrad-superhuman","email":"conrad@superhuman.com"},{"name":"cirwin","email":"conrad.irwin@gmail.com"},{"name":"gvohra","email":"gaurav@vohra.org.uk"},{"name":"gabeshahbazian","email":"gabeshahbazian@gmail.com"},{"name":"hehk","email":"kyle1101000@gmail.com"},{"name":"hedgeday","email":"sachin.hegde91@gmail.com"},{"name":"mkassoff_superhuman","email":"mkassoff@superhuman.com"},{"name":"mikeklaas","email":"mike@superhuman.com"}],"homepage":"https://github.com/ConradIrwin/fast64#readme","bugs":{"url":"https://github.com/ConradIrwin/fast64/issues"},"dist":{"shasum":"d7d763415f0204635aa05eab056d6aae05912f6a","tarball":"https://registry.npmjs.org/@superhuman/fast64/-/fast64-0.7.3.tgz","fileCount":7,"integrity":"sha512-MH2dESOx08SGaJ4S1W91HiCRkqT0m1Rq2CDTBnwLZptcz6rTbyNc+KWJ2Xx0kUlrKxVRYrsbHJIFj2L6069sTg==","signatures":[{"sig":"MEYCIQCrnWuSpMq4THCLlpU8QqLt0lr4DE8b8OcHBaFZCD0rIQIhAPJruBlOEdpui69/jEzsi65KxZ7Ykr658Q8G3U5PQtLB","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19508,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjXCtJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrByw/9EH2elhRO2IWrk5jOQ2fGhy3pOGLTQKpUiVOO8ZAbO7li7HKI\r\nKYn0UtYXmMNN8UalcQuTwzO/fFOtTKkd11sPQSyxRPEjfVIlvMrLseisqMKh\r\n2YpXGK5mMAtXhF31cm50osJMybfhk3FspGoyCgwrxTy46DnmWU092TudmSwx\r\nMOvBfwMgENIMl1eCrVrU7vrEDHdVSGeat4QSqm7hdm7Qarl5r3+Ai0+2DkOl\r\nHcfRKD4PcSS+gb1SZKtYPMlg6X6Zkt4JnbBl1AQjkDTR2gbponKJC7fs2o5r\r\nejWJBljRjzRas3+kt4OrqzZ+fA7/NOpBQRsAPKP2WjoPBmlAGhO9ldPB8KZx\r\nR8MJCsKrWvq+UGgKmqtdfXNiXxWz2ipR2yDn0Y22ZrFHahLp2b8h6Xz0quVj\r\nkOJUkkb0ZQRrSLngpYsDKHf3oeRRTiATxeAPkaFLFCyBEv59KOfZhmjKH/SY\r\n7p4/CDYhKDTqtItGWSf6ESYOK/GHJX2oL8S3nS9BDwoxNTbX5MUN2VJj7+Mj\r\nmqMnL00gIswbcpjW0CBA45t+l7RLl16L/WK9TPAc1T5DvnmDfnuWu9Wi0NM4\r\nlAQk3CfXgwLX1CX6JTgNgbWHF1FesaqiE2PPtkTQ8Rg4iG8lZr6cFt4pqqi9\r\nLcCPc9ctP3jO4xDs/DL13HHQrvXFXp6vAdw=\r\n=hwLn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"a6e2e9cfc6a1a3756ab3b933d1f53eeaaa528909","_npmUser":{"name":"patrickdbakke","email":"patrickdbakke@gmail.com"},"standard":{"ignore":[],"globals":["Base64","TextDecoder","TextEncoder","context","describe","expect","it","performance"]},"repository":{"url":"git+https://github.com/ConradIrwin/fast64.git","type":"git"},"_npmVersion":"8.5.0","description":"The fastest in-browser base64 library","directories":{},"_nodeVersion":"16.14.2","_hasShrinkwrap":false,"devDependencies":{"chai":"^3.4.1","mocha":"^10.1.0"},"_npmOperationalInternal":{"tmp":"tmp/fast64_0.7.3_1666984776818_0.621638289488933","host":"s3://npm-registry-packages"}}},"time":{"created":"2017-08-03T23:16:55.424Z","modified":"2025-09-17T23:04:01.904Z","0.6.0":"2017-08-03T23:16:55.424Z","0.7.0":"2018-08-06T20:55:12.337Z","0.7.3":"2022-10-28T19:19:37.007Z"},"bugs":{"url":"https://github.com/ConradIrwin/fast64/issues"},"license":"Apache","homepage":"https://github.com/ConradIrwin/fast64#readme","repository":{"url":"git+https://github.com/ConradIrwin/fast64.git","type":"git"},"description":"The fastest in-browser base64 library","maintainers":[{"email":"tim@superhuman.com","name":"timsuperhuman"},{"email":"patrickdbakke@gmail.com","name":"patrickdbakke"},{"email":"engineering+npm@superhuman.com","name":"superhumanengineering"},{"email":"shivangi@superhuman.com","name":"shivangi_c"}],"readme":"\nThis immodestly claims to be the fastest in-browser utf-8 safe Base64\ndecoding library. If you can beat it in the latest version of Chrome, please\nsend a pull request :).\n\nI built it as part of the [Superhuman](https://superhuman.com) email client,\nas a significant portion of our CPU-burn goes into Base64 parsing.\n\nIt's based on mythic work by DRDigit (Vassilis Petroulias). (I say mythic,\nbecause its origins are shrouded in mystery), but uses modern browser\nfeatures (namely `TextEncoder`, `TextDecoder`, `Uint8Array`, and\n`ArrayBuffer`) to beat the original by a very healthy multiplier.\n\nInstallation\n============\n\n```\nnpm install fast64\n```\n\nUsage\n=====\n\n```js\nvar fast64 = require('base64');\n\n// For standard base64\nbase64 = fast64.encode(string);\nstring = fast64.decode(base64);\n// If you want to decode till Uint8Array and skip the UTF8 decoding.\n// This is useful in cases where you need Uint8Array for eg. create blob out of Uint8Array result.\nuint8Array = fast64.decode(base64, {uint8Array:true});\n\n\n// For URL-safe base64 (-_ in place of +/, and no padding)\nbase64 = fast64.urlencode(string);\nstring = fast64.urldecode(base64);\n// If you want to decode till Uint8Array and skip the UTF8 decoding.\n// This is useful in cases where you need Uint8Array for eg. create blob out of Uint8Array result.\nuint8Array = fast64.urldecode(base64, {uint8Array:true});\n```\n\nTesting\n=======\n\nIf you want to develop this package, you can run the tests in-browser:\n\n```\nnpm install\nopen test/index.html\n```\n","readmeFilename":"README.md"}