bryanhelmig/node-imap-json-poster — pull request #1 by jamescarr (2012-03-06 07:53:59+00:00)
Title: Added package.json

Took a look at this tonight and it seems pretty useful... I might dig in to it a bit for my own needs. :)

Made a few small additions

* added a package.json to include dependencies
* wrote a silly integration test to prove it works
* changed readFileSync to readFile

The integration test is really an experiment on my part. It starts a webserver listening for posts at http://localhost:3001/example and when a request is recieved verifies "headers" and "headers.return-path" are present in the json posted to it.

The package.json allows one to just type `npm install` from the project directory to gather all the dependencies.

Good stuff, keep it up. :+1: