@vaya/msn-to-double
v1.0.0
Published
Formats MSN (Mobile Service Number) to double
Downloads
60
Readme
MSN to Double
A small library that formats MSN (Mobile Service Number) to double. Useful for Lambdas triggered by Amazon Connect.
Installation
npm install @vaya/msn-to-double
Usage
const msnToDouble = require('@vaya/msn-to-double')
import msnToDouble from '@vaya/msn-to-double' //ES6
const fullmsn = '+61400000000'
const msn = msnToDouble(fullmsn)
//returns 400000000
Tests
npm test
or
make test
Deploy
make publish-patch
or
make publish-minor
or
make publish-major