Skip to content

Latest commit

 

History

History

checks

@thi.ng/checks

npm version npm downloads Mastodon Follow

Note

This is one of 192 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

Collection of 70+ type, feature & value checks.

Status

STABLE - used in production

Search or submit any issues for this package

Installation

yarn add @thi.ng/checks

ESM import:

import * as ch from "@thi.ng/checks";

Browser ESM import:

<script type="module" src="https://esm.run/@thi.ng/checks"></script>

JSDelivr documentation

For Node.js REPL:

const ch = await import("@thi.ng/checks");

Package sizes (brotli'd, pre-treeshake): ESM: 1.65 KB

Dependencies

API

Generated API docs

TODO

Authors

If this project contributes to an academic publication, please cite it as:

@misc{thing-checks,
  title = "@thi.ng/checks",
  author = "Karsten Schmidt and others",
  note = "https://thi.ng/checks",
  year = 2016
}

License

© 2016 - 2024 Karsten Schmidt // Apache License 2.0