UNPKG

2.31 kBMarkdownView Raw
1<!-- This file is generated - DO NOT EDIT! -->
2<!-- Please see: https://github.com/thi-ng/umbrella/blob/develop/CONTRIBUTING.md#changes-to-readme-files -->
3# ![@thi.ng/checks](https://media.thi.ng/umbrella/banners-20230807/thing-checks.svg?8a250e50)
4
5[![npm version](https://img.shields.io/npm/v/@thi.ng/checks.svg)](https://www.npmjs.com/package/@thi.ng/checks)
6![npm downloads](https://img.shields.io/npm/dm/@thi.ng/checks.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
9> [!NOTE]
10> This is one of 192 standalone projects, maintained as part
11> of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
12> and anti-framework.
13>
14> 🚀 Please help me to work full-time on these projects by [sponsoring me on
15> GitHub](https://github.com/sponsors/postspectacular). Thank you! ❤️
16
17- [About](#about)
18- [Status](#status)
19- [Installation](#installation)
20- [Dependencies](#dependencies)
21- [API](#api)
22- [Authors](#authors)
23- [License](#license)
24
25## About
26
27Collection of 70+ type, feature & value checks.
28
29## Status
30
31**STABLE** - used in production
32
33[Search or submit any issues for this package](https://github.com/thi-ng/umbrella/issues?q=%5Bchecks%5D+in%3Atitle)
34
35## Installation
36
37```bash
38yarn add @thi.ng/checks
39```
40
41ESM import:
42
43```ts
44import * as ch from "@thi.ng/checks";
45```
46
47Browser ESM import:
48
49```html
50<script type="module" src="https://cdn.skypack.dev/@thi.ng/checks"></script>
51```
52
53[Skypack documentation](https://docs.skypack.dev/)
54
55For Node.js REPL:
56
57```js
58const ch = await import("@thi.ng/checks");
59```
60
61Package sizes (brotli'd, pre-treeshake): ESM: 1.65 KB
62
63## Dependencies
64
65- [tslib](https://www.typescriptlang.org/)
66
67## API
68
69[Generated API docs](https://docs.thi.ng/umbrella/checks/)
70
71TODO
72
73## Authors
74
75- [Karsten Schmidt](https://thi.ng) (Main author)
76- [Gavin Cannizzaro](https://github.com/gavinpc-mindgrub)
77- [Jay Zawrotny](https://github.com/eccentric-j)
78
79If this project contributes to an academic publication, please cite it as:
80
81```bibtex
82@misc{thing-checks,
83 title = "@thi.ng/checks",
84 author = "Karsten Schmidt and others",
85 note = "https://thi.ng/checks",
86 year = 2016
87}
88```
89
90## License
91
92&copy; 2016 - 2024 Karsten Schmidt // Apache License 2.0