jprichardson / node-jsonfile

Easily read/write JSON files.
MIT License
1.2k stars 321 forks source link

Default value for spaces in readme.md is outdated #22

Closed sebakerckhof closed 9 years ago

sebakerckhof commented 9 years ago

Since https://github.com/jprichardson/node-jsonfile/pull/16 , the default value for spaces is null (so no formatting).

However, the readme.md file still says the default value is 2. This got me confused when I saw formatting was lost.

jprichardson commented 9 years ago

Excellent point. I'm going to modify the options so that you can you pass in the spacing/formatting along with each method call.

adamreisnz commented 9 years ago

+1 :)