1
0
mirror of synced 2025-12-20 05:37:55 +08:00
Commit Graph

13 Commits

Author SHA1 Message Date
Lance Roggendorff
92ac817d17 Adding forceformat option: format invalid output just like jsonlint.com
When using jsonlint.com, even invalid JSON is pretty printed. It seemed
like a good option to have in the cli version as well. This is simply
inserting the char-by-char formatter from
https://github.com/umbrae/jsonlintdotcom and adding an option to cli.js.
2012-09-12 23:11:11 -05:00
Gregg Lind
f2e1de3039 added quiet mode 2012-08-22 09:10:54 -05:00
Zachary Carter
6af4143235 add schema validation 2012-05-28 15:14:09 -07:00
Zachary Carter
11e7192a72 appease jslint 2012-05-15 21:42:25 -07:00
Zachary Carter
ee5c2d557c use stderr for errors 2012-05-15 19:53:35 -07:00
Zach Carter
5cca03512e fix issue #16, normalize path 2012-04-05 22:13:44 -04:00
millermedeiros
1956caa5a4 add compact option to CLI and update flags to work with latest nomnom api. see #10 2011-12-16 13:45:52 -02:00
Zach Carter
5a52ba4662 change sys module to util 2011-11-21 20:19:34 -05:00
Zach Carter
ae5025e5ac Fix overwriting bug. 2011-06-04 10:32:04 -04:00
Zach Carter
f08f1b245f add option to sort object keys 2011-06-01 17:55:58 -04:00
Zach Carter
7d7e4b499f allow inplace overwrite 2011-06-01 17:42:36 -04:00
Zach Carter
26d697c45f Add nomnom for option parsing. Allow indentation option" 2011-06-01 17:24:24 -04:00
Zach Carter
9c1023cfb1 command line interface and updates for npm 2011-05-01 17:36:27 -04:00