navy-message-parser
v0.0.7
Published
Module for parsing Navy messages (for use in Node and the browser)
Downloads
6
Readme
Navy Message Parser
Parse Navy messages into subject, references, remarks, etc...
Example
var parser = require('navy-message-parser');
// Message data can be loaded from Navy Search API: www.navysearch.org/api/docs
var message = parser
.input(/** return from navysearch.org/api/v1.0/message/NAVADMIN16004 **/)
.parse()
.output();
console.log(message.SUBJ);// 'DOMESTIC VIOLENCE INCIDENT COUNT-CONSEQUENT COMMAND ACTIONS'