> ## Documentation Index
> Fetch the complete documentation index at: https://loadwise.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Loadwise

> One CLI that checks a TypeScript or JavaScript project for performance, reliability, maintainability, security and accessibility problems before it ships.

**[npm package](https://www.npmjs.com/package/loadwise)** · **[Sponsor](https://github.com/sponsors/IbrahimHafez1)**

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](https://loadwise.mintlify.site/case-studies/playwright-launch-server.md) 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](https://github.com/IbrahimHafez1/loadwise/blob/main/CHANGELOG.md), and a moved or renamed rule keeps accepting its old id where possible. False-positive reports are the most useful feedback: [open one](https://github.com/IbrahimHafez1/loadwise/issues/new?template=false-positive.yml).

## Measurements and development

[PERFORMANCE.md](https://github.com/IbrahimHafez1/loadwise/blob/main/PERFORMANCE.md) has the scan-time and memory measurements, and the [corpus rule scorecard](https://github.com/IbrahimHafez1/loadwise/blob/main/bench/corpus/scorecard.md) the measured precision and recall per rule. To develop Loadwise itself, see [Contributing](https://loadwise.mintlify.site/contributing.md).

## License

Licensed under the [Apache License 2.0](https://github.com/IbrahimHafez1/loadwise/blob/main/LICENSE). Copyright © 2026 Ibrahim Hafez.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.