dna-js

0.0.3 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.3
    7
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.3
    7
  • 0.0.2
    1

Package Sidebar

Install

npm i dna-js

Weekly Downloads

8

Version

0.0.3

License

MIT

Last publish

Collaborators

  • shakiba