Ward

Does Ward work with TypeScript and JavaScript?

Updated

Yes. Ward supports TypeScript and JavaScript projects built with npm, pnpm, Yarn or Bun, including Turborepo workspaces. Node projects need Node 22 or 24 and their package manager on PATH.

Which frameworks does Ward support in TypeScript?

Vue, Svelte, Astro and Angular, plus Next.js, NestJS, Fastify and Express, which ward init recognizes from your dependencies. Other frameworks are checked with the same gates. JavaScript uses the same frameworks as TypeScript.

What does Ward check in a Node project?

Gate What it does
ward Ward’s own TypeScript and JavaScript lint rules, selected in ward-rules.toml
tsc Type check (TypeScript only). Vue, Svelte, Astro and Angular use vue-tsc, svelte-check, astro check and ngc instead
vitest, jest or bun test Tests with coverage
stryker Mutation testing, in strict

Coverage minimums are 70% of lines under standard, and 85% of lines and 75% of branches under strict. Ward supports Angular 21 and 22.

How do I set Ward up in a Node project?

cd my-app
ward init --preset strict --integration none
ward check

ward init adds the tools it needs as dev dependencies, runs the install and writes the config files of those tools. Ward is in alpha, so the CLI and the configuration may change before 1.0.

Where do I go next?

Ready to try it? Install Ward and run ward init in your project.