0.1.4 • Published 12 years ago

json-header v0.1.4

Weekly downloads
1
License
-
Repository
github
Last release
12 years ago

json-header

A simple protocol and script that interprets a document as consisting of a json header and a body. Use the parseStr function to parse a document into the header and body.

Example node session:

> jh=require('./index.js');
{ parseStr: [Function] }
> jh.parseStr('{"key":"value","date":"2013-07-10 CST"}body of the document');
{ header: 
   { key: 'value',
     date: 'Wed Jul 10 2013 14:35:03 GMT-0500 (CDT)' },
  body: 'body of the document' }
0.1.4

12 years ago

0.1.3

12 years ago

0.1.2

12 years ago

0.1.1

12 years ago

0.1.0

12 years ago