Nevertheless Published Mine

    mailto-link
    TypeScript icon, indicating that this package has built-in type declarations

    2.0.0 • Public • Published

    mailto-link tests

    Generate a mailto protocol link

    Install

    $ npm install --save mailto-link
    

    Usage

    var mailtoLink = require('mailto-link')
    
    mailtoLink({to: 'bvdrucker@gmail', subject: 'Nice mailto lib'})
    //=> mailto:bvdrucker@gmail.com?subject=Nice%20mailto%20lib

    API

    mailtoLink(options) -> string

    options

    Required
    Type: object

    to / cc / bcc

    Type: string / array[string]

    List of emails to send to.

    subject

    Type: string

    The email subject.

    body

    Type: string

    The email body.

    License

    MIT © Ben Drucker

    Install

    npm i mailto-link

    DownloadsWeekly Downloads

    7,724

    Version

    2.0.0

    License

    MIT

    Unpacked Size

    3.56 kB

    Total Files

    5

    Last publish

    Collaborators

    • bendrucker