Top 1,000 Features Creators Resources Extensions Blog Explorer CSV Download
GitHub icon

Node.js

< >

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

#80on PLDB 15Years Old
Download source code:
git clone https://github.com/nodejs/node

Try now: Replit

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 Token Example
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 · Acknowledgements · Part of the World Wide Scroll