Nodejs: Difference between revisions

From wikinotes
 
(4 intermediate revisions by the same user not shown)
Line 18: Line 18:
|-
|-
| [[npm]] || nodejs package manager
| [[npm]] || nodejs package manager
|-
| [[yarn]] || npm but parallelized
|-
|-
| [[npx]] || run npm installed bins
| [[npx]] || run npm installed bins
Line 50: Line 52:
</blockquote><!-- Libraries -->
</blockquote><!-- Libraries -->


= Basics =
= Syntax =
<blockquote>
<blockquote>
{| class="wikitable"
{| class="wikitable"
|-
| [[javascript]]
|-
|-
| [[nodejs version]]
| [[nodejs version]]
Line 77: Line 81:
|-
|-
|}
|}
</blockquote><!-- Basics -->
</blockquote><!-- Syntax -->
 
= Features =
<blockquote>
{|
|-
| [[nodejs logging]]
|-
|}
</blockquote><!-- Features -->
 
= Other =
<blockquote>
{|
|-
| [[nodejs extensions]]
|-
|}
</blockquote><!-- Other -->

Latest revision as of 21:43, 18 December 2022

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