Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added NPM support

  • Loading branch information...
commit af85e6c0a47237e251a92fd897245db7d8578b06 1 parent 5b10839
andris9 authored
Showing with 33 additions and 2 deletions.
  1. +8 −2 README.md
  2. +25 −0 package.json
View
10 README.md
@@ -7,12 +7,18 @@ You can use two ways to send an e-mail message: the *EmailMessage* constructor o
The *send_mail()* function takes all the fields of the e-mail message as a function parameter and sends the e-mail immediately.
*EmailMessage* allows to compose the message object first and send it later with its method *send()*.
-**Nodemailer** is Unicode friendly ✔. You can use any characters you like.
+**Nodemailer is Unicode friendly ✔**. You can use any characters you like.
Installation
------------
-NPM support is future feature.
+Install through *NPM*
+
+ npm install nodemailer
+
+or download [ZIP archive](https://github.com/andris9/Nodemailer/zipball/master).
+
+If you use *NPM* then the module is available as `var nodemailer = require('nodemailer');` but if you're using the source then `var nodemailer = require('./path_to_nodemailer/lib/mail');`
Usage
-----
View
25 package.json
@@ -0,0 +1,25 @@
+{
+ "name": "nodemailer",
+ "description": "Easy to use module to send e-mails",
+ "version": "0.1.1",
+ "author" : "Andris Reinman",
+ "maintainers":[
+ {
+ "name":"andris",
+ "email":"andris@node.ee"
+ }
+ ],
+ "repository" : {
+ "type" : "git",
+ "url" : "http://github.com/andris9/nodemailer"
+ },
+ "main" : "./lib/mail",
+ "licenses" : [
+ {
+ "type": "MIT",
+ "url": "http://github.com/andris9/nodemailer/blob/master/LICENSE"
+ }
+ ],
+ "engine": [ "node >=0.3.0" ],
+ "keywords": ["e-mail", "mime", "email", "sendmail"]
+}

0 comments on commit af85e6c

Please sign in to comment.
Something went wrong with that request. Please try again.