I looked at coinstring.js but it looks like it only validates simple BTC addresses (
Validates whether the address string or wallet import format string is valid.
stringthat is either the wallet import format or public address.
version: Is an integer representing the version or
Buffer. See below for more information.
I'm looking for a JS library that can validate BIP16 P2SH addresses.