Skip to main content
npm package · Sponsor Loadwise checks a TypeScript or JavaScript project before it ships. Its deepest coverage is backend and database code, and it also checks React, Next.js, Vue and Angular frontends. One CLI runs five checkers:
  • Performance (loadwise perf): repeated database work, ORM and query integrity, blocking calls, collection complexity, React, Vue and Angular rendering and cleanup work, schema-aware indexes, OpenTelemetry traces, executed query plans and an optional read-only database inspection.
  • Reliability (loadwise rel): unhandled rejections and swallowed errors, races and transaction-client escapes, missing timeouts and idempotency keys, React effect and state bugs, migration safety and breaking API changes.
  • Maintainability (loadwise maint): deep nesting, branch complexity, duplicate implementations, dependency cycles and the folder, placement and data-access rules a team declares.
  • Security (loadwise sec): request data reaching sensitive operations, authentication and cryptography, exposed credentials including secrets bundled into client code, unsafe HTML in JSX, Vue and Angular, javascript: URLs in JSX, Docker and Compose configuration, declared row scopes, and optionally dependency advisories.
  • Accessibility (loadwise a11y): images without alt text, unlabelled form controls, click handlers on non-interactive elements, invalid ARIA and missing page language in JSX, HTML, Vue, Svelte and Angular templates. Skipped on projects without frontend sources.
Each finding has a stable #id for review. Where a checker can generate an edit, it shows the diff and any assumptions to verify. Supported source rules accept a loadwise-reviewed comment with a reason for intentional code. Every rule has its own page under the Rules tab, linked from its checker page. See the Playwright case study for a Loadwise finding that led to an independently reproduced CLI bug.
Pre-1.0. Loadwise is under active development. Until 1.0, rule ids, CLI flags, the JSON report and the config schema can change in a minor release. Every such change is listed in the changelog, and a moved or renamed rule keeps accepting its old id where possible. False-positive reports are the most useful feedback: open one.

Measurements and development

PERFORMANCE.md has the scan-time and memory measurements, and the corpus rule scorecard the measured precision and recall per rule. To develop Loadwise itself, see Contributing.

License

Licensed under the Apache License 2.0. Copyright © 2026 Ibrahim Hafez.