cli tool that cleans up package.json files.
Want to see pretty graphs? Log in now!
npm install fixpack
|4||downloads in the last day|
|14||downloads in the last week|
|197||downloads in the last month|
|Last Published By|
|Version||0.0.2 last updated 2 months ago|
A package.json file scrubber for the truly insane.
It will re-write your package.json file as follows:
- name first
- description second
- version third
- author fourth
- all other keys in alphabetical order
- dependencies and devDependencies sorted alphabetically
- append operating system appropriate newline at the end of the file
It will warn you if any of these are missing:
Fix all indenting to 2 spaces.
Oh, and it will tolerate improperly quoted and comma'd JSON thanks to ALCE.
- install it globally
npm i -g fixpack
- run it in the same directory as your package.json, that's it.
What you might do if you're clever
npm i cool_package --save && fixpack
- 0.0.2 diff - EOF newline
- 0.0.1 - initial release
This embarrassing display of insanity, type-A-ness, and OCD brought to you by @HenrikJoreteg.