Common, generic types, interfaces & mixins
npm install @thi.ng/api
!npm downloads

> [!NOTE]
> This is one of 214 standalone projects, maintained as part
> of the @thi.ng/umbrella monorepo
> and anti-framework.
>
> 🚀 Please help me to work full-time on these projects by sponsoring me on
> GitHub. Thank you! ❤️
- About
- Status
- Installation
- Dependencies
- API
- Authors
- License
Common, generic types, interfaces & mixins.
This package is implicitly used by most other projects in this repository. It
defines:
- Dozens of generic, common interfaces & types
- Class & method decorators
- Mixins
- Typedarray utilities
STABLE - used in production
Search or submit any issues for this package
``bash`
yarn add @thi.ng/api
ESM import:
`ts`
import * as api from "@thi.ng/api";
Browser ESM import:
`html`
For Node.js REPL:
`js`
const api = await import("@thi.ng/api");
Package sizes (brotli'd, pre-treeshake): ESM: 2.41 KB
None
- Karsten Schmidt (Main author)
- Matei Adriel
If this project contributes to an academic publication, please cite it as:
`bibtex``
@misc{thing-api,
title = "@thi.ng/api",
author = "Karsten Schmidt and others",
note = "https://thi.ng/api",
year = 2016
}
© 2016 - 2026 Karsten Schmidt // Apache License 2.0