@indigov/cansend-api
v1.0.6
Published
## To use
Downloads
376
Maintainers
Keywords
Readme
CANSEND client
To use
- Add it to your project; e.g.,
yarn add @indigov/cansend-api
- Use it like so:
import Cansend from '@indigov/cansend-api`
const cansend = new Cansend(API_TOKEN)
await cansend.validateAddress('[email protected]')
// 'valid' | 'invalid' | 'pending' | 'unknown' | 'error'
await cansend.validateAddresses(['[email protected]'])
// { '[email protected]': 'valid' | 'invalid' | 'pending' | 'unknown' | 'error' }
// enter up to 200
TODO
- Figure out how to build/publish this directory only
- Testing steps
- Publish/deploy steps