title: How can I configure npm to use Windows-style line endings in package.json?
body: <p>I run Windows, and when npm modifies my package.json file, it writes it using Unix-style line endings (<kbd>LF</kbd>). I want it to use Windows-style line endings (<kbd>CR</kbd><kbd>LF</kbd>).</p>
  
  <p>Is there a global config setting, or even a command-line option to make npm use the correct EOL characters?</p>