format-package-json
0.2.0 • Public • Published format-package-json
Module attempts to detect the spacing used, the final line ending.
It will then attempt to reformat an Object
back into this string and save the file.
usage
var format = require('format-package-json')
format('/path/to/package.json', function (err, data) {
})
sync
format.sync
format.readSync
format.writeSync
build
Package Sidebar
Install
npm i format-package-json
Weekly Downloads