{"name":"bip32","version":"5.0.1","type":"module","description":"A BIP32 compatible library","keywords":["bip32","bitcoinjs","bitcoin","secp256k1"],"main":"./src/cjs/index.cjs","module":"./src/esm/index.js","types":"./src/cjs/index.d.ts","exports":{".":{"require":"./src/cjs/index.cjs","import":"./src/esm/index.js","types":"./src/cjs/index.d.ts"}},"engines":{"node":">=18.0.0"},"scripts":{"build":"tsc -p ./tsconfig.json && tsc -p ./tsconfig.cjs.json","checkHybrid":"chmod +x test.cjs && node test.cjs","coverage-report":"npm run build && npm run nobuild:coverage-report","coverage":"npm run build && npm run nobuild:coverage","format":"npm run prettier -- --write","format:ci":"npm run prettier -- --check","gitdiff:ci":"npm run build && git diff --exit-code","lint":"tslint -p tsconfig.json -c tslint.json","nobuild:coverage-report":"c8 report --reporter=lcov","nobuild:coverage":"c8 --check-coverage --branches 90 --functions 90 npm run nobuild:unit","nobuild:unit":"tape test/*.js","postbuild":"find src/cjs -type f -name \"*.js\" -exec bash -c 'mv \"$0\" \"${0%.js}.cjs\"' {} \\; && chmod +x fixup.cjs && node fixup.cjs","prettier":"prettier 'ts-src/**/*.ts' --ignore-path ./.prettierignore","test":"npm run build && npm run format:ci && npm run lint && npm run nobuild:coverage","unit":"npm run build && npm run nobuild:unit"},"repository":{"type":"git","url":"git+https://github.com/bitcoinjs/bip32.git"},"dependencies":{"@noble/hashes":"^1.2.0","@scure/base":"^1.1.1","uint8array-tools":"^0.0.8","valibot":"^1.2.0","wif":"^5.0.0"},"devDependencies":{"@types/node":"18.x","@types/tape":"^5.6.4","c8":"^10.1.2","prettier":"1.16.4","tape":"^5.3.0","tiny-secp256k1":"^2.2.1","tslint":"^6.1.0","typescript":"^5.0.4"},"author":{"name":"Daniel Cousens"},"license":"MIT","bugs":{"url":"https://github.com/bitcoinjs/bip32/issues"},"_id":"bip32@5.0.1","gitHead":"c8042b82bf85fd4b67e840fb16475dfad2c30edc","homepage":"https://github.com/bitcoinjs/bip32#readme","_nodeVersion":"24.4.1","_npmVersion":"11.4.2","dist":{"integrity":"sha512-PWlHIAgYCfVhwqNpZyeakHXuLAGyN6rEQZnhxHxKI3BoFJRVWLl26455fhRlHsmbYcV986HqtPnt33Edu5sTCw==","shasum":"08ccd31bbc57e62197ea74e039795a590302f332","tarball":"http://registry-npm.ywwl.com/bip32/download/bip32-5.0.1.tgz","fileCount":18,"unpackedSize":54466,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIC+QGqRvO1F8gdAj12tAykbbHVrbCfIycX0gP+K0g6AxAiBikn0Fog+InNsCxtc9b8UvDuyd0if73d2tZuR7nxhnXw=="}],"size":9520,"noattachment":false,"key":"/bip32/-/bip32-5.0.1.tgz"},"_npmUser":{"name":"jl.landabaso","email":"landabaso@gmail.com"},"directories":{},"maintainers":[{"name":"fanatid","email":"fanatid@ya.ru"},{"name":"jprichardson","email":"jprichardson@gmail.com"},{"name":"junderw","email":"jonathan.underwood4649@gmail.com"},{"name":"jl.landabaso","email":"landabaso@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/bip32_5.0.1_1771521707521_0.7219091692527302"},"_hasShrinkwrap":false,"readme":"# bip32\n[![Github CI](https://github.com/bitcoinjs/bip32/actions/workflows/main_ci.yml/badge.svg)](https://github.com/bitcoinjs/bip32/actions/workflows/main_ci.yml) [![NPM](https://img.shields.io/npm/v/bip32.svg)](https://www.npmjs.org/package/bip32) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)\n\nA [BIP32](https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki) compatible library written in TypeScript with transpiled JavaScript committed to git.\n\n\n## Example\n\nTypeScript\n\n``` typescript\nimport BIP32Factory from 'bip32';\nimport * as ecc from 'tiny-secp256k1';\nimport { BIP32Interface } from 'bip32';\n// You must wrap a tiny-secp256k1 compatible implementation\nconst bip32 = BIP32Factory(ecc);\n\nconst node: BIP32Interface = bip32.fromBase58('xprv9s21ZrQH143K3QTDL4LXw2F7HEK3wJUD2nW2nRk4stbPy6cq3jPPqjiChkVvvNKmPGJxWUtg6LnF5kejMRNNU3TGtRBeJgk33yuGBxrMPHi');\n\nconst child: BIP32Interface = node.derivePath('m/0/0');\n// ...\n```\n\nNodeJS\n\n``` javascript\nconst ecc = require('tiny-secp256k1')\nconst { BIP32Factory } = require('bip32')\n// You must wrap a tiny-secp256k1 compatible implementation\nconst bip32 = BIP32Factory(ecc)\n\nconst node = bip32.fromBase58('xprv9s21ZrQH143K3QTDL4LXw2F7HEK3wJUD2nW2nRk4stbPy6cq3jPPqjiChkVvvNKmPGJxWUtg6LnF5kejMRNNU3TGtRBeJgk33yuGBxrMPHi')\n\nconst child = node.derivePath('m/0/0')\n```\n\n## LICENSE [MIT](LICENSE)\nA derivation (and extraction for modularity) of the `HDWallet`/`HDNode` written and tested by [bitcoinjs-lib](https://github.com/bitcoinjs/bitcoinjs-lib) contributors since 2014.\n","publish_time":1771521707671,"_cnpm_publish_time":1771521707671,"dist-tags":{"latest":"5.0.1"}}