Missum Node
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.