NaNoWriMo Promotes Manuscription

    @vaya/msn-to-double

    1.0.0 • Public • Published

    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

    Install

    npm i @vaya/msn-to-double

    DownloadsWeekly Downloads

    4

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    4.75 kB

    Total Files

    7

    Last publish

    Collaborators

    • unitsix
    • rajmohanbalan