a json formatter
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
README.md
index.js
package.json

README.md

jsonf

A json formatter, inspired by jsonlint

Install

npm install jsonf

Example

var jsonf = require('jsonf');
var data = '{"encoding": "utf-8", "outputDirName": "./", "ignore": [ "./_lilt.json" ]}'
jsonf(data);

output:

{
    "encoding": "utf-8",
    "outputDirName": "./",
    "ignore": [
         "./_lilt.json"
     ]
}

MIT License