Options for writing a package.json file.
Optional
The indentation for new files, as a number of spaces or a string such as '\t'. Existing files keep their indentation. Defaults to 2.
'\t'
2
Whether to sort the keys before writing. Pass options to change the order. Defaults to false.
false
Options for writing a package.json file.