0.2.0 • Published 10 years ago

format-package-json v0.2.0

Weekly downloads
14
License
BSD
Repository
github
Last release
10 years ago

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) {
    //data - the string that it wrote

    //That's it
})

sync

  • format.sync
  • format.readSync
  • format.writeSync

build

Build Status

0.2.0

10 years ago

0.1.0

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago