cross platform node guide

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

1400
77
JavaScript
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.

Hire me

Please
reach out
if you’re looking for a Node.js API or CLI engineer (11 years of experience).
Most recently I have been Netlify Build’s
and Netlify Plugins’
technical lead for 2.5 years. I am available for full-time remote positions.

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:

ehmicky
ehmicky

πŸ’» 🎨 πŸ€” πŸ“–
thatalextaylor
thatalextaylor

πŸ€” πŸ“–
Ben Noordhuis
Ben Noordhuis

πŸ€” πŸ“–
Steve Lee
Steve Lee

πŸ€” πŸ“’
Michael J. Ryan
Michael J. Ryan

πŸ€”
Fabio Spampinato
Fabio Spampinato

πŸ€”
AyrA
AyrA

πŸ€”
Felix Becker
Felix Becker

πŸ“– πŸ€”
Nicola Dal Maso
Nicola Dal Maso

πŸ€”