Skip to content

Commit

Permalink
Initial wrapper for node-imap
Browse files Browse the repository at this point in the history
  • Loading branch information
epaminond committed Mar 3, 2015
0 parents commit 80245f8
Show file tree
Hide file tree
Showing 7 changed files with 73 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.build*
.npm/node_modules
1 change: 1 addition & 0 deletions .npm/package/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
7 changes: 7 additions & 0 deletions .npm/package/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
This directory and the files immediately inside it are automatically generated
when you change this package's NPM dependencies. Commit the files in this
directory (npm-shrinkwrap.json, .gitignore, and this README) to source control
so that others run the same versions of sub-dependencies.

You should NOT check in the node_modules directory that Meteor automatically
creates; if you are using git, the .gitignore file tells git to ignore it.
29 changes: 29 additions & 0 deletions .npm/package/npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
meteor-imap
================

Meteor wrapper for [node-imap](https://github.com/mscdex/node-imap).

Install

```meteor add epaminond:imap```

## Usage

This is how it's used in regular node

```var Imap = require('imap');```

To use in Meteor with this package you can just access global Imap variable.
1 change: 1 addition & 0 deletions imap.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Imap = Npm.require('imap');
17 changes: 17 additions & 0 deletions package.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Package.describe({
name: 'epaminond:imap',
version: '0.8.14',
summary: 'Meteor wrapper for node-imap',
git: 'https://github.com/epaminond/meteor-imap.git',
documentation: 'README.md'
});

Package.onUse(function(api) {
api.versionsFrom('1.0.3.2');
api.add_files('imap.js', 'server');
api.export("Imap");
});

Npm.depends({
'imap': '0.8.14'
});

0 comments on commit 80245f8

Please sign in to comment.