yahoo-link

2.0.0 • Public • Published

yahoo-link Build Status Greenkeeper badge

Generate a Yahoo mail compose link, mailto-style

Install

$ npm install --save yahoo-link

Usage

var yahooLink = require('mailto-link')
 
yahooLink({to: 'bvdrucker@gmail.com', subject: 'Nice lib'})
//=> http://compose.mail.yahoo.com/?subject=Nice%20lib&to=bvdrucker%40gmail.com

API

yahooLink(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

Package Sidebar

Install

npm i yahoo-link

Weekly Downloads

0

Version

2.0.0

License

MIT

Unpacked Size

3.33 kB

Total Files

4

Last publish

Collaborators

  • bendrucker