{"_id":"@tabrex/bs58","_rev":"3-5bdc600b9b62b80890dd1581ecc6726b","name":"@tabrex/bs58","dist-tags":{"latest":"6.0.4"},"versions":{"6.0.1":{"name":"@tabrex/bs58","version":"6.0.1","keywords":["base58","bitcoin","crypto","crytography","decode","decoding","encode","encoding","litecoin"],"license":"MIT","_id":"@tabrex/bs58@6.0.1","maintainers":[{"name":"tabrex","email":"tabrex-u_ptoz@web-library.net"}],"homepage":"https://github.com/cryptocoinjs/bs58#readme","bugs":{"url":"https://github.com/cryptocoinjs/bs58/issues"},"dist":{"shasum":"adbbc6227e0125e3ae688f7f01d08b4a25e55a9b","tarball":"https://registry.npmjs.org/@tabrex/bs58/-/bs58-6.0.1.tgz","fileCount":6,"integrity":"sha512-Dd3XHkNkp72g1fK2fKMJen5w3TnOR9stLzUzZL3Wfbj/CMAJsvdJwrRean6U2Ug9TU+DvaLeoi5DXp7U6hWmbA==","signatures":[{"sig":"MEQCIG3gOWhd5D7Co9Sv2pajBVX+RZIru/rJOGA5T0ZS5UjjAiBBHLzuoonN/2qZyeRLfmGKS5+CRARkwS4SPFHi8PlLAg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5398},"main":"src/cjs/index.cjs","type":"module","types":"src/cjs/index.d.ts","module":"src/esm/index.js","exports":{".":{"types":"./src/cjs/index.d.ts","import":"./src/esm/index.js","require":"./src/cjs/index.cjs"}},"gitHead":"25241c0e5a0546b26bb7fc9d5a2bd72adf7505fe","scripts":{"test":"npm run standard && npm run unit","unit":"tape test/index.js","build":"npm run clean && tsc -p ./tsconfig.json && tsc -p ./tsconfig.cjs.json","clean":"rimraf src","gitdiff":"npm run build && git diff --exit-code","standard":"ts-standard --ignore src --ignore test","postbuild":"find src/cjs -type f -name \"*.js\" -exec bash -c 'mv \"$0\" \"${0%.js}.cjs\"' {} \\;"},"_npmUser":{"name":"tabrex","email":"tabrex-u_ptoz@web-library.net"},"repository":{"url":"git+https://github.com/cryptocoinjs/bs58.git","type":"git"},"_npmVersion":"11.11.0","description":"Base 58 encoding / decoding","directories":{},"_nodeVersion":"24.14.1","dependencies":{"base-x":"^5.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tape":"^5.3.0","rimraf":"^5.0.7","typescript":"^5.5.2","@types/node":"^20.14.8","ts-standard":"^12.0.2"},"_npmOperationalInternal":{"tmp":"tmp/bs58_6.0.1_1782005652259_0.5859807444317839","host":"s3://npm-registry-packages-npm-production"}},"6.0.3":{"name":"@tabrex/bs58","version":"6.0.3","keywords":["base58","bitcoin","crypto","crytography","decode","decoding","encode","encoding","litecoin"],"license":"MIT","_id":"@tabrex/bs58@6.0.3","maintainers":[{"name":"tabrex","email":"tabrex-u_ptoz@web-library.net"}],"homepage":"https://github.com/cryptocoinjs/bs58#readme","bugs":{"url":"https://github.com/cryptocoinjs/bs58/issues"},"dist":{"shasum":"0d2cfc267b0ea62eca1907a69c0a387f84cbe3a0","tarball":"https://registry.npmjs.org/@tabrex/bs58/-/bs58-6.0.3.tgz","fileCount":6,"integrity":"sha512-BRyCUWoMyTrL7pmJ82sPHucz/+S5ac4IFjr1Dup0E7Cufa+6tKbfauKQX8oe1zdkZddr6K9VTAAH4CW8vzEiGQ==","signatures":[{"sig":"MEYCIQDbn+5mFhuwSu11lMGVnyauJlveGel241pcFIQZIjfwoAIhAN+4cFOSpnMt8cf6uRNLAPfXC4R+zHRwMp7z6blvG7v3","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":203483},"main":"src/cjs/index.cjs","type":"module","types":"src/cjs/index.d.ts","module":"src/esm/index.js","exports":{".":{"types":"./src/cjs/index.d.ts","import":"./src/esm/index.js","require":"./src/cjs/index.cjs"}},"gitHead":"9c5b6732196f1e76f350995deb9c568793aa4c9c","scripts":{"test":"npm run standard && npm run unit","unit":"tape test/index.js","build":"npm run clean && tsc -p ./tsconfig.json && tsc -p ./tsconfig.cjs.json","clean":"rimraf src","gitdiff":"npm run build && git diff --exit-code","standard":"ts-standard --ignore src --ignore test","postbuild":"find src/cjs -type f -name \"*.js\" -exec bash -c 'mv \"$0\" \"${0%.js}.cjs\"' {} \\;"},"_npmUser":{"name":"tabrex","email":"tabrex-u_ptoz@web-library.net"},"repository":{"url":"git+https://github.com/cryptocoinjs/bs58.git","type":"git"},"_npmVersion":"11.11.0","description":"Base 58 encoding / decoding","directories":{},"_nodeVersion":"24.14.1","dependencies":{"base-x":"^5.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tape":"^5.3.0","rimraf":"^5.0.7","typescript":"^5.5.2","@types/node":"^20.14.8","ts-standard":"^12.0.2"},"_npmOperationalInternal":{"tmp":"tmp/bs58_6.0.3_1782120221208_0.94051084112985","host":"s3://npm-registry-packages-npm-production"}},"6.0.4":{"name":"@tabrex/bs58","version":"6.0.4","type":"module","description":"Base 58 encoding / decoding","keywords":["base58","bitcoin","crypto","crytography","decode","decoding","encode","encoding","litecoin"],"license":"MIT","devDependencies":{"@types/node":"^20.14.8","rimraf":"^5.0.7","tape":"^5.3.0","ts-standard":"^12.0.2","typescript":"^5.5.2"},"repository":{"url":"git+https://github.com/cryptocoinjs/bs58.git","type":"git"},"main":"src/cjs/index.cjs","module":"src/esm/index.js","types":"src/cjs/index.d.ts","exports":{".":{"import":"./src/esm/index.js","require":"./src/cjs/index.cjs","types":"./src/cjs/index.d.ts"}},"scripts":{"build":"npm run clean && tsc -p ./tsconfig.json && tsc -p ./tsconfig.cjs.json","clean":"rimraf src","gitdiff":"npm run build && git diff --exit-code","postbuild":"find src/cjs -type f -name \"*.js\" -exec bash -c 'mv \"$0\" \"${0%.js}.cjs\"' {} \\;","standard":"ts-standard --ignore src --ignore test","test":"npm run standard && npm run unit","unit":"tape test/index.js"},"dependencies":{"base-x":"^5.0.0"},"gitHead":"9c5b6732196f1e76f350995deb9c568793aa4c9c","_id":"@tabrex/bs58@6.0.4","bugs":{"url":"https://github.com/cryptocoinjs/bs58/issues"},"homepage":"https://github.com/cryptocoinjs/bs58#readme","_nodeVersion":"24.14.1","_npmVersion":"11.11.0","dist":{"integrity":"sha512-Y/RbjSXjR8RvzqBZhqKGz8pdlWJbezitP12X27g/TYuqhonhSUBRwfkTAjmP/XgvmiAGhqkf3ccphHg3QKDmOw==","shasum":"db747a90cff6a2671f9fe9d75ad95e46c3dfa3de","tarball":"https://registry.npmjs.org/@tabrex/bs58/-/bs58-6.0.4.tgz","fileCount":6,"unpackedSize":203483,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDHhd8XbU8d1te8jNT7Su44js1P773p8CCkvRy/2vgN6wIgDNAseijtIHrAOacP5bgh1AF6+97lLQ6JSExNEy707pI="}]},"_npmUser":{"name":"tabrex","email":"tabrex-u_ptoz@web-library.net"},"directories":{},"maintainers":[{"name":"tabrex","email":"tabrex-u_ptoz@web-library.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/bs58_6.0.4_1782120984230_0.881386171620953"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-21T01:34:12.093Z","modified":"2026-06-22T09:36:24.475Z","6.0.1":"2026-06-21T01:34:12.388Z","6.0.3":"2026-06-22T09:23:41.335Z","6.0.4":"2026-06-22T09:36:24.386Z"},"bugs":{"url":"https://github.com/cryptocoinjs/bs58/issues"},"license":"MIT","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"},"description":"Base 58 encoding / decoding","maintainers":[{"name":"tabrex","email":"tabrex-u_ptoz@web-library.net"}],"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\nimport bs58 from '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\nimport bs58 from '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/cjs/index.cjs -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"}