bitcoin-address

bitcoin address verification and other related functions

bitcoin-address

Functions for working with bitcoin addresses

npm install bitcoin-address

returns true if the address (string) is a valid bitcoin address optionally, you can specify 'prod' or 'testnet' for the type to limit validation that that subset of addresses

returns address type if valid base58 address, otherwise null