UNPKG

1.97 kBMarkdownView Raw
1<!-- This file is generated - DO NOT EDIT! -->
2
3# ![@thi.ng/api](https://media.thi.ng/umbrella/banners-20220914/thing-api.svg?1c0ba288)
4
5[![npm version](https://img.shields.io/npm/v/@thi.ng/api.svg)](https://www.npmjs.com/package/@thi.ng/api)
6![npm downloads](https://img.shields.io/npm/dm/@thi.ng/api.svg)
7[![Mastodon Follow](https://img.shields.io/mastodon/follow/109331703950160316?domain=https%3A%2F%2Fmastodon.thi.ng&style=social)](https://mastodon.thi.ng/@toxi)
8
9This project is part of the
10[@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo.
11
12- [About](#about)
13- [Status](#status)
14- [Installation](#installation)
15- [Dependencies](#dependencies)
16- [API](#api)
17- [Authors](#authors)
18- [License](#license)
19
20## About
21
22Common, generic types, interfaces & mixins.
23
24This package is implicitly used by most other projects in this repository. It
25defines:
26
27- Dozens of generic, common interfaces & types
28- Class & method decorators
29- Mixins
30- Typedarray utilities
31
32## Status
33
34**STABLE** - used in production
35
36[Search or submit any issues for this package](https://github.com/thi-ng/umbrella/issues?q=%5Bapi%5D+in%3Atitle)
37
38## Installation
39
40```bash
41yarn add @thi.ng/api
42```
43
44ES module import:
45
46```html
47<script type="module" src="https://cdn.skypack.dev/@thi.ng/api"></script>
48```
49
50[Skypack documentation](https://docs.skypack.dev/)
51
52For Node.js REPL:
53
54```js
55const api = await import("@thi.ng/api");
56```
57
58Package sizes (brotli'd, pre-treeshake): ESM: 2.15 KB
59
60## Dependencies
61
62None
63
64## API
65
66[Generated API docs](https://docs.thi.ng/umbrella/api/)
67
68## Authors
69
70- [Karsten Schmidt](https://thi.ng) (Main author)
71- [Matei Adriel](https://github.com/Mateiadrielrafael)
72
73If this project contributes to an academic publication, please cite it as:
74
75```bibtex
76@misc{thing-api,
77 title = "@thi.ng/api",
78 author = "Karsten Schmidt and others",
79 note = "https://thi.ng/api",
80 year = 2016
81}
82```
83
84## License
85
86&copy; 2016 - 2023 Karsten Schmidt // Apache License 2.0