# @missum/node

> [![npm version][npm-version-src]][npm-version-href] [![Dependencies][david-dm-src]][david-dm-href] [![npm downloads][npm-downloads-src]][npm-downloads-href] [![code style: prettier](https://img.shields.io/badge/code_style-prettier-0A0A0A.svg?style=flat-sq

Latest version **0.6.0** (published 2022-04-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install @missum/node
pnpm add @missum/node
yarn add @missum/node
bun add @missum/node
```

## Health

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

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

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.6.0 |
| Published | 2022-04-09 |
| First published | 2021-02-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=12 |
| Dependencies | 2 |
| Unpacked size | 204.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Distributed |
| Maintainers | gomah |

## Links

- npm: https://www.npmjs.com/package/@missum/node
- npm.io page: https://npm.io/package/@missum/node

## Dependencies (2)

- [graphql](https://npm.io/package/graphql.md) ^16.3.0
- [graphql-request](https://npm.io/package/graphql-request.md) ^4.2.0

## Recent versions

- 0.6.0 (latest) — 2022-04-09
- 0.5.0 — 2022-03-29
- 0.4.1 — 2021-10-20
- 0.4.0 — 2021-10-18
- 0.3.0 — 2021-09-22
- 0.2.1 — 2021-09-11
- 0.2.0 — 2021-08-04
- 0.1.4 — 2021-06-09
- 0.1.3 — 2021-05-27
- 0.1.2 — 2021-03-08
- 0.1.1 — 2021-02-17

## README

# Missum Node

[![npm version][npm-version-src]][npm-version-href]
[![Dependencies][david-dm-src]][david-dm-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-0A0A0A.svg?style=flat-square)](https://prettier.io/)
[![License: MIT](https://img.shields.io/badge/License-MIT-black.svg?style=flat-square)](https://opensource.org/licenses/MIT)
![CI workflow](https://github.com/distributedvc/missum-node/workflows/CI%20workflow/badge.svg)

This library allows you to quickly and easily use the Missum API via Node.js.

## Install

Install with yarn:

```bash
yarn add @missum/node
```

Install with npm:

```bash
npm install @missum/node
```

## Usage

```ts
import { Missum } from '@missum/node';

const client = new Missum('YOUR_API_KEY');

// Start a verification flow
await client.startVerification({
  phoneNumber: '+6143456789',
});

// Submits verification code
const result = await client.checkVerification({
  phoneNumber: '+6143456789',
  verificationCode: '192847',
});

// result: { success: boolean; status: 'PENDING' | 'SUCCESS' }
```

## License

Licensed under [MIT](./LICENSE).

<!-- Badges -->

[npm-version-src]: https://img.shields.io/npm/dt/@missum/node.svg?style=flat-square
[npm-version-href]: https://npmjs.com/package/@missum/node
[npm-downloads-src]: https://img.shields.io/npm/v/@missum/node/latest.svg?style=flat-square
[npm-downloads-href]: https://npmjs.com/package/@missum/node
[david-dm-src]: https://david-dm.org/gomah/@missum/node/status.svg?style=flat-square
[david-dm-href]: https://david-dm.org/gomah/@missum/node

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