Package Exports
- bitcoin-decoder
Readme

Installation
npm install bitcoin-decoderQuick Start
import { decode } from "bitcoin-decoder";
const result = decode("1111111111111111111114oLvT2");Privacy
Most decoders run fully offline, but transaction lookup (opts.transaction.fetch) and Nostr profile fetch (opts.nostr.fetchProfile) hit third-party servers by default (mempool.space and public relays).
Your IP and the queried txid/npub leak to whoever runs them. Pass opts.transaction.endpoint / opts.nostr.relays to point at your own infrastructure if that matters.
Features
See FEATURES.md for the full list of supported formats.
Contributing
Thinking of opening a pull request? See our contribution guide for dependencies, style guidelines, and code hygiene expectations.
License
Released under the MIT license.