Node.js is an open source programming language created in 2009 by Ryan Dahl.
#83on PLDB | 15Years Old |
git clone https://github.com/nodejs/node
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...
#!/usr/bin/env node
console.log('Hello World');
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 |