Top 1,000 Features Creators Events Podcasts 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

View source

- Build the next great programming language · About · Resources · Acknowledgements · Part of the World Wide Scroll