{"author":{"name":"Richard Moore","email":"me@ricmoo.com"},"browser":{"./lib/base64":"./lib/browser-base64.js"},"dependencies":{"@ethersproject/bytes":"^5.8.0"},"description":"Base64 coder.","ethereum":"donations.ethers.eth","funding":[{"type":"individual","url":"https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2"},{"type":"individual","url":"https://www.buymeacoffee.com/ricmoo"}],"gitHead":"fa5f647bb2cde63dd0b9664c42cbfbdc1515e800","keywords":["Ethereum","ethers"],"license":"MIT","main":"./lib/index.js","module":"./lib.esm/index.js","name":"@ethersproject/base64","publishConfig":{"access":"public"},"repository":{"directory":"packages/base64","type":"git","url":"git://github.com/ethers-io/ethers.js.git"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"sideEffects":false,"tarballHash":"0xc359cc40bc66946930c92e7ac84e7344800958d70bbef7803e7f2777fb7a2ce9","types":"./lib/index.d.ts","version":"5.8.0","_id":"@ethersproject/base64@5.8.0","bugs":{"url":"https://github.com/ethers-io/ethers.js/issues"},"homepage":"https://github.com/ethers-io/ethers.js#readme","_nodeVersion":"22.12.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-lN0oIwfkYj9LbPx4xEkie6rAMJtySbpOAFXSDVQaBnAzYfB4X2Qr+FXJGxMoc3Bxp2Sm8OwvzMrywxyw0gLjIQ==","shasum":"61c669c648f6e6aad002c228465d52ac93ee83eb","tarball":"http://registry-npm.ywwl.com/@ethersproject/base64/download/@ethersproject/base64-5.8.0.tgz","fileCount":35,"unpackedSize":11278,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDXFZsre8+soQ3UeDr1uRR9cOHu5RDLYRtO6TvrrKs3cQIgAiwOkueOtGFy2hfvI4TkY3Qg3LRFA+T6fSmikDfuzts="}],"size":3589,"noattachment":false,"key":"/@ethersproject/base64/-/@ethersproject/base64-5.8.0.tgz"},"_npmUser":{"name":"ricmoo","email":"me@ricmoo.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/base64_5.8.0_1740607164773_0.16918547099206283"},"_hasShrinkwrap":false,"readme":"Base64 Coder\n============\n\nfunction decode(textData: string): Uint8Array\n---------------------------------------------\n\nDecodes a base64 encoded string into the binary data.\n\n```javascript\nimport * as base64 from \"@ethersproject/base64\";\n\nlet encodedData = \"...\";\nlet data = base64.decode(encodedData);\nconsole.log(data);\n// { Uint8Array: [] }\n```\n\nfunction encode(data: Arrayish): string\n---------------------------------------\n\nDecodes a base64 encoded string into the binary data.\n\n```javascript\nimport * as base64 from \"@ethersproject/base64\";\n\nlet data = [ ];\nlet encodedData = base64.encode(data);\nconsole.log(encodedData);\n// \"...\"\n```\n\nLicense\n=======\n\nMIT License\n","publish_time":1740607164957,"maintainers":[{"name":"ricmoo","email":"me@ricmoo.com"}],"_cnpm_publish_time":1740607164957,"dist-tags":{"latest":"5.8.0"}}