Organizes and maintains readable your JSON files
Organizes and maintains readable your JSON files.

Finepack is a tool to keep your JSON files organized, specially if you are creating an open source project and want to be sure that your files have all the information that is necessary for the mainly packet systems (like bower or npm). With it you you'll:
name or version and other important keys as homepage, main, license,...You can use as CLI tool or from NodeJS as a library more. Based in fixpack but with a little more of ♥.
npm install finepack -g
$ finepack Organizes and maintains readable your JSON files Usage $ finepack <fileJSON> [options] options: --no-validate disable validation mode. --no-color disable colors in the output. --version output the current version. examples: finepack package.json finepack bower.json --no-validate
For uses inside your NodeJS project, just install as normal dependency.
var fs = require'fs';var path = require'path';var finepack = require'finepack';var filepath = pathresolve'./package.json';var filename = pathbasenamefilepath;var filedata = fsreadFileSyncfilepath encoding: 'utf8'; var options = filename: filename // for customize the output messages, but is not necessary. validate: false // For enable (or not) keys validation (false by default). color: false // For enable (or not) colorize or not the output (false by default). finepackfiledata options if err // if your JSON is malformed then you have err ;
MIT © Kiko Beats