Package Exports
- crypto-address-validator-2
- crypto-address-validator-2/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (crypto-address-validator-2) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Description
Simple wallet address validator for validating Bitcoin and other altcoins addresses in Node.js and browser.
Installation
`npm i crypto-address-validator-2 --save`
How to use
var WAValidator = require('crypto-address-validator-2');
var valid = WAValidator.validate('1KFzzGtDdnq5hrwxXGjwVnKzRbvf8WVxck', 'BTC');
if(valid)
console.log('This is a valid address');
else
console.log('Address INVALID');
Support
Happy to add more, and need any updates, do get in touch on my telegram over @chigovera