@indigov/cansend-api
TypeScript icon, indicating that this package has built-in type declarations

1.0.6 • Public • Published

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('bob@bob.com')
// 'valid' | 'invalid' | 'pending' | 'unknown' | 'error'

await cansend.validateAddresses(['bob@bob.com'])
// { 'bob@bob.com':  'valid' | 'invalid' | 'pending' | 'unknown' | 'error' }
// enter up to 200

TODO

  • Figure out how to build/publish this directory only
  • Testing steps
  • Publish/deploy steps

Readme

Keywords

none

Package Sidebar

Install

npm i @indigov/cansend-api

Weekly Downloads

30

Version

1.0.6

License

UNLICENSED

Unpacked Size

9.31 kB

Total Files

13

Last publish

Collaborators

  • dmarg
  • lsapoz-indigov
  • cs-indigov
  • jezgo
  • elindigov
  • indigovadmin
  • derjacques
  • youngkwangk
  • e10jc
  • faizan-ali
  • josephemswiler
  • ishwaryav