Nepotistic Pontifex Maximus
    Have ideas to improve npm?Join in the discussion! »

    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

    Install

    npm i dna-js

    DownloadsWeekly Downloads

    255

    Version

    0.0.3

    License

    MIT

    Last publish

    Collaborators

    • avatar