Skip to content

Commit 6910269

Browse files
committed
Move to emailjs repo
1 parent 0458507 commit 6910269

File tree

7 files changed

+241
-252
lines changed

7 files changed

+241
-252
lines changed

.travis.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
language: node_js
2+
sudo: false
23
node_js:
3-
- "0.11"
4+
- 4.1
45
before_install:
56
- npm install -g grunt-cli
67
notifications:
78
email:
8-
- build@whiteout.io
9+
recipients:
10+
- felix.hammerl@gmail.com
11+
- andris.reinman@gmail.com

README.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
1-
# mimeparser
1+
# emailjs-mime-parser
22

33
Lib for parsing mime streams.
44

55
## Scope
66

77
This is supposed to be a "low level" mime parsing module. No magic is performed on the data (eg. no joining HTML parts etc.). All body data is emitted out as Typed Arrays, so no need to perform any base64 or quoted printable decoding by yourself. Text parts are decoded to UTF-8 if needed.
88

9-
[![Build Status](https://travis-ci.org/whiteout-io/mimeparser.png?branch=master)](https://travis-ci.org/whiteout-io/mimeparser)
9+
[![Build Status](https://travis-ci.org/emailjs/emailjs-mime-parser.png?branch=master)](https://travis-ci.org/emailjs/emailjs-mime-parser)
1010

1111
## Installation
1212

1313
### [npm](https://www.npmjs.org/):
1414

15-
npm install --save mimeparser
15+
npm install --save emailjs-mime-parser
1616

1717
## Dependencies
1818

19-
This module depends on [mimefuncs](https://github.com/whiteout-io/mimefuncs) and [wo-addressparser](https://github.com/whiteout-io/addressparser) . The dependency will be fetched automatically. Please use your require config accordingly.
19+
This module depends on [emailjs-mime-codec](https://github.com/emailjs/emailjs-mime-codec) and [emailjs-addressparser](https://github.com/emailjs/emailjs-addressparser) . The dependency will be fetched automatically. Please use your require config accordingly.
2020

2121
## Usage
2222

2323
### AMD
2424

25-
var MimeParser = require('mimeparser');
25+
var MimeParser = require('emailjs-mime-parser');
2626

2727
### non-AMD
2828

29-
<script src="mimeparser"></script>
29+
<script src="emailjs-mime-parser.js"></script>
3030
// exposes MimeParser the constructor to the global object
3131

3232
### Feed data to the parser
@@ -87,9 +87,8 @@ This seems like asynchronous but actually it is not. So always define `onheader`
8787
## Hands on
8888

8989
```bash
90-
git clone git@github.com:whiteout-io/mimeparser.git
91-
cd mimeparser
92-
npm install && npm test
90+
$ git clone git@github.com:emailjs/emailjs-mime-parser.git
91+
$ cd emailjs-mime-parser && npm install && npm test
9392
```
9493

9594
## License

package.json

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "mimeparser",
3-
"version": "0.3.8",
4-
"homepage": "https://github.com/whiteout-io/mimeparser",
2+
"name": "emailjs-mime-parser",
3+
"version": "1.0.0",
4+
"homepage": "https://github.com/emailjs/emailjs-mime-parser",
55
"description": "Parse a mime tree, no magic included.",
66
"author": "Andris Reinman <andris@kreata.ee>",
77
"keywords": [
@@ -13,24 +13,24 @@
1313
},
1414
"repository": {
1515
"type": "git",
16-
"url": "git://github.com/whiteout-io/mimeparser.git"
16+
"url": "git://github.com/emailjs/emailjs-mime-parser.git"
1717
},
18-
"main": "src/mimeparser",
18+
"main": "src/emailjs-mime-parser",
1919
"dependencies": {
20-
"mimefuncs": "~0.3.5",
21-
"wo-addressparser": "~0.1.3"
20+
"emailjs-addressparser": "^1.0.1",
21+
"emailjs-mime-codec": "^1.0.1"
2222
},
2323
"devDependencies": {
24-
"chai": "~1.8.1",
25-
"grunt": "~0.4.1",
26-
"grunt-mocha-phantomjs": "~0.4.0",
27-
"grunt-contrib-connect": "~0.6.0",
28-
"grunt-contrib-jshint": "~0.8.0",
29-
"mocha": "~1.16.2",
30-
"requirejs": "~2.1.10",
31-
"wo-stringencoding": "~0.1.1",
32-
"grunt-mocha-test": "~0.10.0",
33-
"sinon": "1.9.0",
34-
"amdefine": "~0.1.0"
24+
"amdefine": "^1.0.0",
25+
"chai": "^3.4.1",
26+
"emailjs-stringencoding": "^1.0.1",
27+
"grunt": "^0.4.5",
28+
"grunt-contrib-connect": "^0.11.2",
29+
"grunt-contrib-jshint": "^0.11.3",
30+
"grunt-mocha-phantomjs": "^2.0.1",
31+
"grunt-mocha-test": "^0.12.7",
32+
"mocha": "^2.3.4",
33+
"requirejs": "^2.1.22",
34+
"sinon": "^1.17.2"
3535
}
3636
}

0 commit comments

Comments
 (0)