Shell scripting with Node.js
You can buy the offline version of this book (HTML, PDF, EPUB, MOBI) and support the free online version.
(Ad, please don’t block.)

18 Cross-platform considerations

18.1 File system paths

Material elsewhere in this book:

18.2 Handling line terminators

See §8.3 “Handling line terminators across platforms”.

18.3 Detecting the current platform

See §15 “Running cross-platform tasks via npm package scripts”.