# @ladjs/api

> API server for Lad

Latest version **14.2.2** (published 2026-05-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install @ladjs/api
pnpm add @ladjs/api
yarn add @ladjs/api
bun add @ladjs/api
```

## Health

**Score 45/100 (D)** — status: active.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

## Facts

| | |
|---|---|
| Version | 14.2.2 |
| Published | 2026-05-11 |
| First published | 2017-11-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=18 |
| Dependencies | 27 |
| Unpacked size | 12.4 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Nick Baugh |
| Maintainers | niftylettuce, shaunwarman, spence-s, titanism, shadowgate15 |
| Keywords | api, error, express, fast, handling, json, koa, lad, lass, light, lightweight, limit, limiting, modern, rate, ratelimit, ratelimiting, response, server, simple, stripe, web |

## Links

- npm: https://www.npmjs.com/package/@ladjs/api
- Repository: https://github.com/ladjs/api
- Issues: https://github.com/ladjs/api/issues
- npm.io page: https://npm.io/package/@ladjs/api

## Dependencies (27)

- [axe](https://npm.io/package/axe.md) ^13.0.0
- [koa](https://npm.io/package/koa.md) 3.1.1
- [cabin](https://npm.io/package/cabin.md) ^14.0.0
- [kcors](https://npm.io/package/kcors.md) ^2.2.2
- [lodash](https://npm.io/package/lodash.md) ^4.17.21
- [boolean](https://npm.io/package/boolean.md) ^3.2.0
- [koa-json](https://npm.io/package/koa-json.md) ^2.0.2
- [@koa/etag](https://npm.io/package/@koa/etag.md) ^5.0.2
- [multimatch](https://npm.io/package/multimatch.md) 5
- [@koa/router](https://npm.io/package/@koa/router.md) ^13.1.1
- [@ladjs/i18n](https://npm.io/package/@ladjs/i18n.md) ^10.0.0
- [koa-connect](https://npm.io/package/koa-connect.md) ^2.1.0
- [@ladjs/redis](https://npm.io/package/@ladjs/redis.md) ^1.1.1
- [koa-compress](https://npm.io/package/koa-compress.md) ^5.1.1
- [response-time](https://npm.io/package/response-time.md) ^2.3.4
- [koa-basic-auth](https://npm.io/package/koa-basic-auth.md) ^4.0.0
- [koa-bodyparser](https://npm.io/package/koa-bodyparser.md) ^4.4.1
- [@ladjs/passport](https://npm.io/package/@ladjs/passport.md) ^5.1.5
- [koa-404-handler](https://npm.io/package/koa-404-handler.md) ^0.1.0
- [request-received](https://npm.io/package/request-received.md) ^0.0.3
- [express-request-id](https://npm.io/package/express-request-id.md) 1.4.1
- [koa-better-timeout](https://npm.io/package/koa-better-timeout.md) ^0.0.6
- [koa-conditional-get](https://npm.io/package/koa-conditional-get.md) ^3.0.0
- [@ladjs/shared-config](https://npm.io/package/@ladjs/shared-config.md) ^9.1.4
- [@ladjs/store-ip-address](https://npm.io/package/@ladjs/store-ip-address.md) ^0.0.7
- [koa-better-error-handler](https://npm.io/package/koa-better-error-handler.md) ^12.0.0
- [@ladjs/koa-simple-ratelimit](https://npm.io/package/@ladjs/koa-simple-ratelimit.md) ^4.1.1

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 14.2.2 (latest) — 2026-05-11
- 14.2.1 — 2026-01-02
- 14.2.0 — 2025-08-14
- 14.1.23 — 2025-07-15
- 14.1.22 — 2025-07-10
- 14.1.21 — 2025-06-11
- 14.1.20 — 2025-06-05
- 14.1.19 — 2025-06-04
- 14.1.18 — 2025-02-27
- 14.1.17 — 2025-02-13
- 14.1.16 — 2024-07-04
- 14.1.15 — 2024-01-25
- 14.1.14 — 2024-01-25
- 14.1.13 — 2024-01-04
- 14.1.12 — 2023-12-14
- … 168 more at https://npm.io/package/@ladjs/api/versions

## README

# [**@ladjs/api**](https://github.com/ladjs/api)

[![build status](https://github.com/ladjs/api/actions/workflows/ci.yml/badge.svg)](https://github.com/ladjs/api/actions/workflows/ci.yml)
[![code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/sindresorhus/xo)
[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier)
[![made with lass](https://img.shields.io/badge/made_with-lass-95CC28.svg)](https://lass.js.org)
[![license](https://img.shields.io/github/license/ladjs/api.svg)](LICENSE)

> API server for Lad


## Table of Contents

* [Install](#install)
* [Usage](#usage)
* [Contributors](#contributors)
* [License](#license)


## Install

[npm][]:

```sh
npm install @ladjs/api
```


## Usage

See <https://github.com/ladjs/lad/blob/master/template/api.js> for the most up to date usage example.


## Contributors

| Name           | Website                    |
| -------------- | -------------------------- |
| **Nick Baugh** | <http://niftylettuce.com/> |


## License

[MIT](LICENSE) © [Nick Baugh](http://niftylettuce.com/)


##

[npm]: https://www.npmjs.com/

---
_Source: https://npm.io/package/@ladjs/api · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
