Javascript Code

JavaScript/TypeScript development, paradigms, and runtime environments

DongDuong2001 3f0b4da 819 B Updated

File contents

JavaScript/TypeScript Code Skill

This skill manages JavaScript and TypeScript specific development practices across Node.js, browsers, and edge runtimes.

When to use this skill

  • When writing or maintaining JS/TS applications.
  • When dealing with asynchronous programming (Promises, async/await).
  • When configuring module systems (ESM vs CommonJS).

Guidelines

  • Prefer TypeScript over vanilla JavaScript for large projects to leverage static typing.
  • Always use strict equality (===) and avoid loose equality (==).
  • Avoid mutating state when possible; prefer functional approaches like map, filter, and reduce.
  • Use const by default, let when necessary, and never use var.

DongDuong2001/pudo-code-system/tree/main/skills/code/javascript commit 3f0b4da5bf

Frequently asked questions

npx skillmds@latest add dongduong2001/javascript-code