Skip to content

Commit

Permalink
v1.0.0
Browse files Browse the repository at this point in the history
 - Compatibility with `node@>=8.9.0`
 - Compatibility with `mongodb@>=3.0.1` (*NPM package*)
 - Remove dependency from `mongodb` NPM package, making you free to
choose between `mongodb@2.*` and `mongodb@3.*`
 - NPM dependencies update
 - Package rewritten using ES6 syntax
 - Docs and `readme` rewritten using ES6 syntax
 - New auto-unit-tests using `mocha`, covering 80%
 - Overall codebase enhancements
 - Fix: #3 , thanks to @satyavh
  • Loading branch information
dr-dimitru committed Jan 25, 2018
1 parent 7212508 commit eb326f6
Show file tree
Hide file tree
Showing 4 changed files with 728 additions and 9 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,11 @@ npm install --save nodemailer
```
Install *MailTime* package:
```shell
# for node@>=8.9.0
npm install --save mail-time

# for node@<8.9.0
npm install --save mail-time@=0.1.7
```

Basic usage
Expand Down Expand Up @@ -272,6 +276,20 @@ mailQueue.sendMail({
});
```


Testing
======
```shell
# Before run tests make sure NODE_ENV === development
# Install NPM dependencies
npm install --save-dev

# Before run tests you need to have running MongoDB
MONGO_URL="mongodb://127.0.0.1:27017/testCollectionName" npm test

# Be patient, tests are taking around 2 mins
```

Support this project:
======
This project wouldn't be possible without [ostr.io](https://ostr.io).
Expand Down
Loading

0 comments on commit eb326f6

Please sign in to comment.