dna-js
v0.0.3
Published
Human-readable data format.
Downloads
70
Maintainers
Readme
DNA
DNA is a human-readable data format, inspired by XML, JSON and Properties files and similar to YAML and Jade, with improved readability.
You can use this package to parse and stringify DNA format in JavaScript or Node.js or convert DNA to JSON from command line.
Node.js
Usage
var object = DNA.parse(string);
var string = DNA.stringify(object);
Install
npm install dna-js --save
Command Line
Usage
dna json file.dna > file.json
Install
npm install dna-js -g
Example
An example DNA file with JSON conversion are available in /test directory.
License
Copyright (c) 2015 Ali Shakiba
Available under the MIT license