sms-reg

SMS-REG.com API 2.0

Usage no npm install needed!

<script type="module">
  import smsReg from 'https://cdn.skypack.dev/sms-reg';
</script>

README

sms-reg

SMS-REG.com API 2.0

Installation

npm install sms-reg

Usage

'use strict'

let SmsReg = require('sms-reg');
let smsreg = new SmsReg('API_KEY');

smsreg.getNum('all', 'mailru')
  .then(num => {...})
  .catch(err => {...})

// e.t.c., You can use all of SMS-REG API 2.0 methods in this manner