agentsclimarketplace

Nodejs

Skill G1Joshi/Agent-Skills/skills/frameworks/nodejs

Node.js server-side JavaScript runtime with npm ecosystem. Use for backend development.From its SKILL.md

Install
npx -y skills add G1Joshi/Agent-Skills --skill nodejs

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 12 stars12 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

1.7 KB, 396 tokens by cl100k_base, as published. Nobody here has run it

Node.js

Node.js is a cross-platform JavaScript runtime environment. Node.js 22 (LTS 2025) brings native TypeScript support (experimental), a built-in Test Runner, and a native WebSocket client.

When to Use

  • Real-time Apps: Chat, Gaming, Collaboration (WebSockets).
  • API Servers: High concurrency with non-blocking I/O.
  • Tooling: The foundation of modern frontend toolchains (Vite, Next.js).

Quick Start (Native Features)

// Native Test Runner (No Jest needed)
import { test, assert } from "node:test";

test("synchronous passing test", (t) => {
  assert.strictEqual(1, 1);
});

// Native WebSocket
const ws = new WebSocket("ws://example.com/socket");
ws.onopen = () => console.log("Connected");

Core Concepts

Event Loop

Single-threaded, non-blocking I/O. Heavy CPU tasks block the loop (bad), but I/O tasks are offloaded to OS (good).

Streams

Process huge files piece-by-piece without loading them into memory.

Native APIs (2025)

Node now has fetch, test, watch, and .env support built-in. You need fewer dependencies than in 2020.

Best Practices (2025)

Do:

  • Use node:test: Drop Jest/Mocha for simple projects.
  • Use node --env-file: Drop dotenv dependency.
  • Use Async/Await: Callbacks are dead. Long live Promises.

Don't:

  • Don't block the Event Loop: Don't run Crypto or Image processing on the main thread. Use Worker Threads.
  • Don't use require: New projects should use ESM (import).

References

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.