Have ideas to improve npm?Join in the discussion! »

    adonis-nexmo

    1.0.4 • Public • Published

    adonis-nexmo

    Nexmo provider for AdonisJS

    Install

    adonis install adonis-nexmo

    You need to add the provider to AdonisJS at start/app.js:

    const providers = [
       ...
       'adonis-nexmo/providers/Nexmo'
    ];

    And in your .env file

    NEXMO_KEY=
    NEXMO_SECRET=
    

    then you can simply call it from within controllers etc:

    const Nexmo = use('Nexmo')

    Install

    npm i adonis-nexmo

    DownloadsWeekly Downloads

    0

    Version

    1.0.4

    License

    MIT

    Unpacked Size

    4.39 kB

    Total Files

    7

    Last publish

    Collaborators

    • avatar