[!NOTE]
This is one of 217 standalone projects. LLM-free, human-made and cared for software, maintained as part of the @thi.ng/umbrella ecosystem and anti-framework.
🚀 Please help me to work full-time on these projects by sponsoring me. Thank you! ❤️
Collection of 70+ type, feature & value checks.
existsexistsAndNotNullhasBigInthasCryptohasMaxLengthhasMinLengthhasPerformancehasWASMhasWebGLhasWebSocketimplementsFunctionisASCIIisAlphaisAlphaNumisArrayisArrayBufferLikeisArrayBufferViewisArrayLikeisAsyncFunctionisAsyncIterableisBigIntisBlobisBooleanisChromeisDarkModeisDataURLisDateisEvenisFalseisFileisFirefoxisFloatStringisFunctionisGeneratorisHexisHexColorisIEisIllegalKeyisInRangeisInt32isIntStringisIterableisMapisMobileisNaNisNegativeisNilisNodeisNotStringAndIterableisNullisNumberisNumericisNumericFloatisNumericIntisObjectisOddisPlainObjectisPositiveisPrimitiveisPrintableASCIIisPromiseisPromiseLikeisProtoPathisRegExpisSafariisSetisStringisSymbolisTouchEventisTransferableisTrueisTypedArrayisUUIDisUUIDv4isUint32isUndefinedisZero
STABLE - used in production
Search or submit any issues for this package
yarn add @thi.ng/checksESM import:
import * as ch from "@thi.ng/checks";Browser ESM import:
<script type="module" src="https://esm.run/@thi.ng/checks"></script>For Node.js REPL:
const ch = await import("@thi.ng/checks");Package sizes (brotli'd, pre-treeshake): ESM: 2.06 KB
None
TODO
- Karsten Schmidt (Main author)
- Gavin Cannizzaro
- Jay Zawrotny
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
}© 2016 - 2026 Karsten Schmidt // Apache License 2.0