{"_id":"cryptocoin-base58","_rev":"1-e4061ba27a6533e7673306baab4396f9","name":"cryptocoin-base58","dist-tags":{"latest":"0.1.0"},"versions":{"5.0.0":{"name":"cryptocoin-base58","version":"5.0.0","description":"Base 58 encoding / decoding","keywords":["base58","bitcoin","crypto","crytography","decode","decoding","encode","encoding","litecoin"],"license":"MIT","devDependencies":{"standard":"^16.0.4","tape":"^4.6.3"},"repository":{"url":"git+https://github.com/cryptocoinjs/bs58.git","type":"git"},"main":"index.js","types":"index.d.ts","scripts":{"standard":"standard","test":"npm run standard && npm run unit","unit":"tape test/index.js"},"dependencies":{"base-x":"^4.0.0"},"gitHead":"3ebc63d1254c6472a0fd1f6d416d49d8b588e380","bugs":{"url":"https://github.com/cryptocoinjs/bs58/issues"},"homepage":"https://github.com/cryptocoinjs/bs58#readme","_id":"cryptocoin-base58@5.0.0","_nodeVersion":"19.2.0","_npmVersion":"9.2.0","dist":{"integrity":"sha512-iORiV/Ll2ibzBuGxoOmu89eYzPSX8tAd1c2YgW7nVftM7A65kfuQud3I54I8f652JQfDwWVaoaOlwJ1Oji35qg==","shasum":"081a2a8fbea3ba3a045eeb003a5f48d43dfd5663","tarball":"https://registry.npmjs.org/cryptocoin-base58/-/cryptocoin-base58-5.0.0.tgz","fileCount":5,"unpackedSize":4182,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH34ad+WIPY8AcHmFB6vVi4l9O+j/1jHcQwlKAI4LoUpAiA17s7iJXRDbMq8xklDopquHfKymJUtyY020hBRT+/+7A=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjlzt+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpCDw//dhZQvJ/6QkCMCe0+t2CmIPCp2Wy6MIcoQNOCuJG9bWtbEtAt\r\nrt7KpdU7f8QRT9A+ZalbZyL0TtovdVqFqD4wSRYk9Q7KXV21494PHmx9eO6K\r\nhHOVnyCWguoyHL8yuYvW2BBwPchz1yHC1+0aXKR6m3hX5O/WAO+yY+Tve1w3\r\nOlFovRq2UdNmhpQeVDUrq10n3XptMsEoHsWCYQujnW7N4GoUl3Hr+EMPJKB9\r\nX7kqVVBy4bMxLu8bq9egOleveBr2uDY5H/P9WNXB08cY4mltz9HwYHJVND/J\r\n9FCbTC0TrkkepPCKo3jp91WYeSw6rGRTAXMXwYPcphxzbikaUs7MrXoJGoDD\r\nfCa/Yc+c9gWcLR/19EGN/SiCEgDoIXpdc8qxhQfj+fKIiVfcAN2RNQOs7un3\r\nXi/AgK2Hmw8wjs4gocIkN1PnclGzWk+Hz0uqW2GhgOqc9ro7j+24liYXEeTr\r\nnjUZVnbqzLL54t0Do95sBrK7MG4dGQRRb8x/6UKCRAECfEvorFDVlE7SpQ2s\r\n4TFOHH57L0V166LGVLBc8Y2CAPG8ak7KRDbBp6wC+ARbO86A1TkWswsBGbaG\r\nceGxdfO1aApJiUIiWFbm92MIp/4MstVgUu/04GXiQY99ScLhWV6mLQNKhTqe\r\n4EpYfc6tOH9I81W2a2FplOYQ/iXuwc2CXB4=\r\n=D6z8\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jrichy1991","email":"josh1991@mail.com"},"directories":{},"maintainers":[{"name":"jrichy1991","email":"josh1991@mail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cryptocoin-base58_5.0.0_1670855550519_0.626423905238326"},"_hasShrinkwrap":false},"0.1.0":{"name":"cryptocoin-base58","version":"0.1.0","description":"Base 58 encoding / decoding","keywords":["base58","bitcoin","crypto","crytography","decode","decoding","encode","encoding","litecoin"],"license":"MIT","devDependencies":{"standard":"^16.0.4","tape":"^4.6.3"},"repository":{"url":"git+https://github.com/cryptocoinjs/bs58.git","type":"git"},"main":"index.js","types":"index.d.ts","scripts":{"standard":"standard","test":"npm run standard && npm run unit","unit":"tape test/index.js"},"dependencies":{"base-x":"^4.0.0"},"gitHead":"3ebc63d1254c6472a0fd1f6d416d49d8b588e380","bugs":{"url":"https://github.com/cryptocoinjs/bs58/issues"},"homepage":"https://github.com/cryptocoinjs/bs58#readme","_id":"cryptocoin-base58@0.1.0","_nodeVersion":"19.2.0","_npmVersion":"9.2.0","dist":{"integrity":"sha512-Vl/wUKvBY9S0/Fem5QPvfF9tYeob7m5YCRjPTPlJECjyl1yiHhAc1nQoEa6IXQBjHsejc948jSZPQffofJf9zg==","shasum":"f344dadf24443279e8b10f3ca03f53ee3c2b03f3","tarball":"https://registry.npmjs.org/cryptocoin-base58/-/cryptocoin-base58-0.1.0.tgz","fileCount":5,"unpackedSize":4182,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICAHejpFUaadaeHsuAr1RxuMQ2HKy6Hqty95K55sYyqPAiEA7JUSwKLs0AZ8nrq4XCSvrdAey0wiGunpY0l0IzkJ024="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjlz6mACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqb+RAAmD/S+buRN5TObCE/o1XiiPqohJttg6IM2nceF8lpC0jDMGzb\r\nZ5WXAWzceQCYaUwERP4uVnesHmV36dccBhFKKIfMOsDeKfITCgQFcEVzyVg1\r\nTo3VlXsjwiL4TXeHX5bbjTDPyyCa0RHeTV6Icr5OrTK40bH4iIvH/41frkj3\r\nJ3+AxUV1Ryqd7KVfmnvWBkPf0Okl6UIkQHmE4dqp0YijTVc9xa/PuzVoiy50\r\n+ju05L6njjZ3q5jMpPHjFhCVkVVXHfWG/Ut++ENP5qzjnaUR/PdgL7dPOJd7\r\nDLeH/41LTHZKYM/GOOsz1K6E7HP1YN8xeG+EPlFY4A+fkQKMMKQq0n3raFzE\r\nX6rDnGhAGYzwDuhIbxR1hjES3+W8JFVkFJJ9HVg714lbH7Wy9L1OuFuOYgVy\r\nGfpXDpqRYL3s9Mx1xHKQxQV2JdP6P6WITfMHFzrFl9oBR+WdSnij6s3Y3WWz\r\nLc+CPPi/6HoJVKOX8zB8309laf6fyRpwDVMy8EYQHMAcLxrFA9je12xv+zh0\r\nc/InGaDiUJMnuI4b9JSfxpINoR9LJRZrhP/Eneroa6KfvX4yVnU/5fInws/5\r\n/X54uj4nxAnB+zq+mWuqq25JXKGGHLDa5rJLD7zOwqqB/9mOcyjGkZafwLht\r\nsOgz9a6W8qXpF1uMaDINu1co6J99C9wT7Gc=\r\n=2iqO\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jrichy1991","email":"josh1991@mail.com"},"directories":{},"maintainers":[{"name":"jrichy1991","email":"josh1991@mail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cryptocoin-base58_0.1.0_1670856358230_0.2696796215376107"},"_hasShrinkwrap":false}},"time":{"created":"2022-12-12T14:32:30.519Z","5.0.0":"2022-12-12T14:32:30.671Z","modified":"2022-12-12T14:45:58.491Z","0.1.0":"2022-12-12T14:45:58.400Z"},"maintainers":[{"name":"jrichy1991","email":"josh1991@mail.com"}],"description":"Base 58 encoding / decoding","homepage":"https://github.com/cryptocoinjs/bs58#readme","keywords":["base58","bitcoin","crypto","crytography","decode","decoding","encode","encoding","litecoin"],"repository":{"url":"git+https://github.com/cryptocoinjs/bs58.git","type":"git"},"bugs":{"url":"https://github.com/cryptocoinjs/bs58/issues"},"license":"MIT","readme":"bs58\n====\n\n[![build status](https://travis-ci.org/cryptocoinjs/bs58.svg)](https://travis-ci.org/cryptocoinjs/bs58)\n\nJavaScript component to compute base 58 encoding. This encoding is typically used for crypto currencies such as Bitcoin.\n\n**Note:** If you're looking for **base 58 check** encoding, see: [https://github.com/bitcoinjs/bs58check](https://github.com/bitcoinjs/bs58check), which depends upon this library.\n\n\nInstall\n-------\n\n    npm i --save bs58\n\n\nAPI\n---\n\n### encode(input)\n\n`input` must be a `Uint8Array`, `Buffer`, or an `Array`. It returns a `string`.\n\n**example**:\n\n```js\nconst bs58 = require('bs58')\n\nconst bytes = Uint8Array.from([\n    0, 60,  23, 110, 101, 155, 234,\n   15, 41, 163, 233, 191, 120, 128,\n  193, 18, 177, 179,  27,  77, 200,\n   38, 38, 129, 135\n])\nconst address = bs58.encode(bytes)\nconsole.log(address)\n// => 16UjcYNBG9GTK4uq2f7yYEbuifqCzoLMGS\n```\n\n\n### decode(input)\n\n`input` must be a base 58 encoded string. Returns a Uint8Array.\n\n**example**:\n\n```js\nconst bs58 = require('bs58')\n\nconst address = '16UjcYNBG9GTK4uq2f7yYEbuifqCzoLMGS'\nconst bytes = bs58.decode(address)\n// See uint8array-tools package for helpful hex encoding/decoding/compare tools\nconsole.log(Buffer.from(bytes).toString('hex'))\n// => 003c176e659bea0f29a3e9bf7880c112b1b31b4dc826268187\n```\n\nBrowser\n-----------\nYou can use this module in the browser. Install Browserify:\n\n```bash\nnpm install -g browserify\n```\n\nthen run:\n\n```bash\nbrowserify node_modules/bs58/index.js -o bs58.bundle.js --standalone bs58\n```\n\nHack / Test\n-----------\n\nUses JavaScript standard style. Read more:\n\n[![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard)\n\n\nCredits\n-------\n- [Mike Hearn](https://github.com/mikehearn) for original Java implementation\n- [Stefan Thomas](https://github.com/justmoon) for porting to JavaScript\n- [Stephan Pair](https://github.com/gasteve) for buffer improvements\n- [Daniel Cousens](https://github.com/dcousens) for cleanup and merging improvements from bitcoinjs-lib\n- [Jared Deckard](https://github.com/deckar01) for killing `bigi` as a dependency\n\n\nLicense\n-------\n\nMIT\n","readmeFilename":"README.md"}