0.0.3 • Published 10 years ago
dna-js v0.0.3
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 --saveCommand Line
Usage
dna json file.dna > file.jsonInstall
npm install dna-js -gExample
An example DNA file with JSON conversion are available in /test directory.
License
Copyright (c) 2015 Ali Shakiba
Available under the MIT license