simple-imf-parser
v0.1.1
Published
A simple parser of Internet Message Format (IMF) messages using for nodejs.
Downloads
20
Maintainers
Readme
Simple IMF Parser
A simple parser of Internet Message Format (IMF) messages using for nodejs.
Usage
Parse File
var parseFile = require("simple-imf-parser").parseFile;
var imfObject = parseFile("./imf-message-file.txt", "utf8");
Parse Message
var parseMessage = require("simple-imf-parser").parseMessage;
var imfObject = parseMessage("..."); // Where "..." are the message contents.