ehmicky/cross-platform-node-guide

πŸ“— How to write cross-platform Node.js code

1,421

stars

870

commits

JavaScript

primary language

May 25, 2025

updated

api
cli
code-quality
cross-platform
documentation
encoding
es6
javascript
linux
macos
nodejs
operating-system
os
portability
security
server
shell
terminal
unix
windows

README

cross-platform-nodejs logo

License Node Mastodon Medium

How to write cross-platform Node.js code.

Why you should care: according to the 2018 Node.js user survey, 24% of Node.js developers use Windows locally and 41% use Mac. In production 85% use Linux and 1% use BSD.

Table of contents

Summary

πŸ€– Development environment

πŸ“ File encoding

πŸ“‚ Filesystem

πŸ’» Terminal

πŸ”’ Security

πŸ“‘ Networking / IPC

πŸŽ›οΈ System

See also

Support

For any question, don't hesitate to submit an issue on GitHub.

Everyone is welcome regardless of personal background. We enforce a Code of conduct in order to promote a positive and inclusive environment.

Contributing

This project was made with ❀️. The simplest way to give back is by starring and sharing it online.

If the documentation is unclear or has a typo, please click on the page's Edit button (pencil icon) and suggest a correction.

If you would like to help us fix an error or add more information, please check our guidelines. Pull requests are welcome!

Thanks go to these wonderful people:

Contributors

ehmicky

841 commits

dependabot[bot]

10 commits

bnoordhuis

1 commits

ehmicky/cross-platform-node-guide

πŸ“— How to write cross-platform Node.js code

1,421

stars

870

commits

JavaScript

primary language

May 25, 2025

updated

api
cli
code-quality
cross-platform
documentation
encoding
es6
javascript
linux
macos
nodejs
operating-system
os
portability
security
server
shell
terminal
unix
windows

README

cross-platform-nodejs logo

License Node Mastodon Medium

How to write cross-platform Node.js code.

Why you should care: according to the 2018 Node.js user survey, 24% of Node.js developers use Windows locally and 41% use Mac. In production 85% use Linux and 1% use BSD.

Table of contents

Summary

πŸ€– Development environment

πŸ“ File encoding

πŸ“‚ Filesystem

πŸ’» Terminal

πŸ”’ Security

πŸ“‘ Networking / IPC

πŸŽ›οΈ System

See also

Support

For any question, don't hesitate to submit an issue on GitHub.

Everyone is welcome regardless of personal background. We enforce a Code of conduct in order to promote a positive and inclusive environment.

Contributing

This project was made with ❀️. The simplest way to give back is by starring and sharing it online.

If the documentation is unclear or has a typo, please click on the page's Edit button (pencil icon) and suggest a correction.

If you would like to help us fix an error or add more information, please check our guidelines. Pull requests are welcome!

Thanks go to these wonderful people:

Contributors

ehmicky

841 commits

dependabot[bot]

10 commits

bnoordhuis

1 commits

Languages

JavaScript

100.0%