Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

Node.js

< >

Node.js is an open source programming language created in 2009 by Ryan Dahl.

#83on PLDB 15Years Old
Download source code:
git clone https://github.com/nodejs/node
Homepage · REPL · Download · Source Code · Blog · Wikipedia · Subreddit · Release Notes · Docs

Node.js is an open-source, cross-platform JavaScript run-time environment that executes JavaScript code outside of a browser. Typically, JavaScript is used primarily for client-side scripting, in which scripts written in JavaScript are embedded in a webpage's HTML and run client-side by a JavaScript engine in the user's web browser. Node.js lets developers use JavaScript to write Command Line tools and for server-side scripting—running scripts server-side to produce dynamic web page content before the page is sent to the user's web browser. Read more on Wikipedia...


Example from hello-world:
#!/usr/bin/env node console.log('Hello World');

Language features

Feature Supported Example Token
Strings "Hello world" "
Print() Debugging console.log
Streams const stream = require('stream');
File Imports const fs = require("fs")
Disk Output require("fs").writeFileSync("foo.txt", "foo", "utf8")
Case Insensitive Identifiers X

- Build the next great programming language · Add · Issues · About · Search · Keywords · Livestreams · Labs · Resources · Acknowledgements

Built with Scroll v154.2.0