Nodejs

From wikinotes
Revision as of 21:43, 18 December 2022 by Will (talk | contribs) (→‎Syntax)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A commandline runtime environment for javascript.

Documentation

homepage https://nodejs.org/en/
api docs https://nodejs.org/api/
quickstart https://nodejs.dev/learn

Tools

npm nodejs package manager
yarn npm but parallelized
npx run npm installed bins

Usage

node script.js  # run script
node            # interpreter

Intro

nodejs commandline

Libraries

nodejs libraries

Syntax

javascript
nodejs version
nodejs modules
nodejs subprocesses
nodejs async
nodejs events
nodejs http
nodejs filesystem
nodejs streams
nodejs os
nodejs buffers
nodejs testing

Features

nodejs logging

Other

nodejs extensions