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)