Questions Concepts
GitHub icon

Node.js

Node.js - Programming language

< >

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

Source code:
git clone https://github.com/nodejs/node
#42on PLDB 14Years Old

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 jtree = require("jtree")
Disk Output
require("fs").writeFileSync("foo.txt", "foo", "utf8")
Case Insensitive Identifiers X

View source

- Build the next great programming language · Search · Add Language · Features · Creators · Resources · About · Blog · Acknowledgements · Queries · Stats · Sponsor · Traffic · Traffic Today · Day 305 · feedback@pldb.com · Logout