New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@indigov/cansend-api

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@indigov/cansend-api

## To use

1.0.6
latest
Version published
Maintainers
13
Created

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

FAQs

Package last updated on 07 Apr 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts