@missum/node
TypeScript icon, indicating that this package has built-in type declarations

0.6.0 • Public • Published

Missum Node

npm version Dependencies npm downloads code style: prettier License: MIT CI workflow

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

Install

Install with yarn:

yarn add @missum/node

Install with npm:

npm install @missum/node

Usage

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @missum/node

Weekly Downloads

13

Version

0.6.0

License

MIT

Unpacked Size

209 kB

Total Files

15

Last publish

Collaborators

  • gomah