nodejs.org.xtwang.top Open in urlscan Pro
18.221.0.64  Public Scan

Submitted URL: http://nodejs.org.xtwang.top/
Effective URL: https://nodejs.org.xtwang.top/
Submission: On March 22 via api from US — Scanned from US

Form analysis 0 forms found in the DOM

Text Content

Download Docs


RUN JAVASCRIPT EVERYWHERE

Node.jsĀ® is a free, open-source, cross-platform JavaScript runtime environment
that lets developers create servers, web apps, command line tools and scripts.

Download Node.js (LTS) Download Node.js (LTS) Downloads Node.js > with long-term
support. Node.js can also be installed via .Want new features sooner? Get
Node.js 1 instead.
Create an HTTP Server Write Tests Read and Hash a File Read Streams Work with
Threads

// server.mjs
import { createServer } from 'node:http';

const server = createServer((req, res) => {
  res.writeHead(200, { 'Content-Type': 'text/plain' });
  res.end('Hello World!\n');
});

// starts a simple http server locally on port 3000
server.listen(3000, '127.0.0.1', () => {
  console.log('Listening on 127.0.0.1:3000');
});

// run with `node server.mjs`


JavaScript Copy to clipboard





Learn more what Node.js is able to offer with our