# @indigov/cansend-api

> ## To use

Latest version **1.0.6** (published 2022-04-07) · UNLICENSED license · 0 weekly downloads

## Install

```sh
npm install @indigov/cansend-api
pnpm add @indigov/cansend-api
yarn add @indigov/cansend-api
bun add @indigov/cansend-api
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.6 |
| Published | 2022-04-07 |
| First published | 2022-03-29 |
| Weekly downloads | 0 |
| License | UNLICENSED |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 9.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | ethan@indigov.com |
| Maintainers | emberrandall, derjacques, youngkwangk, e10jc, faizan-ali, iandigov, bjacobso-indigov, u373, rmbh4211995, toddglover, roilan, josephemswiler, ishwaryav |

## Links

- npm: https://www.npmjs.com/package/@indigov/cansend-api
- npm.io page: https://npm.io/package/@indigov/cansend-api

## Recent versions

- 1.0.6 (latest) — 2022-04-07
- 1.0.5 — 2022-04-05
- 1.0.4 — 2022-03-29
- 1.0.3 — 2022-03-29
- 1.0.2 — 2022-03-29
- 1.0.1 — 2022-03-29
- 1.0.0 — 2022-03-29

## 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('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

---
_Source: https://npm.io/package/@indigov/cansend-api · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
