JSPM

simple-imf-parser

0.1.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q34880F
  • License MIT

A simple parser of Internet Message Format (IMF) messages using for nodejs.

Package Exports

  • simple-imf-parser

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (simple-imf-parser) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Simple IMF Parser Build Status

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.