sort-pjson
v1.0.3
Published
sort package.json like fixpack but without messing with files
Downloads
72,476
Readme
sort-pjson
Sorts a package.json using fixpack rules but just with an object, not files.
Usage:
const sort = require('sort-pjson')
const pjson = require('./package.json')
const sorted = sort(pjson)