UNPKG

@thi.ng/checks

Version:

Collection of 70+ type, feature & value checks

294 lines 6.66 kB
{ "name": "@thi.ng/checks", "version": "3.6.23", "description": "Collection of 70+ type, feature & value checks", "type": "module", "module": "./index.js", "typings": "./index.d.ts", "sideEffects": false, "repository": { "type": "git", "url": "https://github.com/thi-ng/umbrella.git" }, "homepage": "https://thi.ng/checks", "funding": [ { "type": "github", "url": "https://github.com/sponsors/postspectacular" }, { "type": "patreon", "url": "https://patreon.com/thing_umbrella" }, { "type": "liberapay", "url": "https://liberapay.com/thi.ng" } ], "author": "Karsten Schmidt (https://thi.ng)", "contributors": [ "Gavin Cannizzaro (https://github.com/gavinpc-mindgrub)", "Jay Zawrotny (https://github.com/eccentric-j)" ], "license": "Apache-2.0", "scripts": { "build": "yarn build:esbuild && yarn build:decl", "build:decl": "tsc --declaration --emitDeclarationOnly", "build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts", "clean": "bun ../../tools/src/clean-package.ts", "doc": "typedoc --options ../../typedoc.json --out doc src/index.ts", "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts", "pub": "yarn npm publish --access public", "test": "bun test", "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts" }, "dependencies": { "tslib": "^2.8.1" }, "devDependencies": { "@types/node": "^22.13.1", "esbuild": "^0.25.0", "typedoc": "^0.27.7", "typescript": "^5.7.3" }, "keywords": [ "detect", "feature", "reflect", "typescript", "validate" ], "publishConfig": { "access": "public" }, "browser": { "process": false, "setTimeout": false }, "engines": { "node": ">=18" }, "files": [ "./*.js", "./*.d.ts" ], "exports": { ".": { "default": "./index.js" }, "./exists-not-null": { "default": "./exists-not-null.js" }, "./exists": { "default": "./exists.js" }, "./has-bigint": { "default": "./has-bigint.js" }, "./has-crypto": { "default": "./has-crypto.js" }, "./has-max-length": { "default": "./has-max-length.js" }, "./has-min-length": { "default": "./has-min-length.js" }, "./has-performance": { "default": "./has-performance.js" }, "./has-wasm": { "default": "./has-wasm.js" }, "./has-webgl": { "default": "./has-webgl.js" }, "./has-websocket": { "default": "./has-websocket.js" }, "./implements-function": { "default": "./implements-function.js" }, "./is-alphanum": { "default": "./is-alphanum.js" }, "./is-array": { "default": "./is-array.js" }, "./is-arraybufferlike": { "default": "./is-arraybufferlike.js" }, "./is-arraybufferview": { "default": "./is-arraybufferview.js" }, "./is-arraylike": { "default": "./is-arraylike.js" }, "./is-ascii": { "default": "./is-ascii.js" }, "./is-async-iterable": { "default": "./is-async-iterable.js" }, "./is-bigint": { "default": "./is-bigint.js" }, "./is-blob": { "default": "./is-blob.js" }, "./is-boolean": { "default": "./is-boolean.js" }, "./is-chrome": { "default": "./is-chrome.js" }, "./is-data-url": { "default": "./is-data-url.js" }, "./is-date": { "default": "./is-date.js" }, "./is-even": { "default": "./is-even.js" }, "./is-false": { "default": "./is-false.js" }, "./is-file": { "default": "./is-file.js" }, "./is-firefox": { "default": "./is-firefox.js" }, "./is-float-string": { "default": "./is-float-string.js" }, "./is-function": { "default": "./is-function.js" }, "./is-generator": { "default": "./is-generator.js" }, "./is-hex-color": { "default": "./is-hex-color.js" }, "./is-hex": { "default": "./is-hex.js" }, "./is-ie": { "default": "./is-ie.js" }, "./is-in-range": { "default": "./is-in-range.js" }, "./is-int-string": { "default": "./is-int-string.js" }, "./is-int32": { "default": "./is-int32.js" }, "./is-iterable": { "default": "./is-iterable.js" }, "./is-map": { "default": "./is-map.js" }, "./is-mobile": { "default": "./is-mobile.js" }, "./is-nan": { "default": "./is-nan.js" }, "./is-negative": { "default": "./is-negative.js" }, "./is-nil": { "default": "./is-nil.js" }, "./is-node": { "default": "./is-node.js" }, "./is-not-string-iterable": { "default": "./is-not-string-iterable.js" }, "./is-null": { "default": "./is-null.js" }, "./is-number": { "default": "./is-number.js" }, "./is-numeric": { "default": "./is-numeric.js" }, "./is-object": { "default": "./is-object.js" }, "./is-odd": { "default": "./is-odd.js" }, "./is-plain-object": { "default": "./is-plain-object.js" }, "./is-positive": { "default": "./is-positive.js" }, "./is-primitive": { "default": "./is-primitive.js" }, "./is-promise": { "default": "./is-promise.js" }, "./is-promiselike": { "default": "./is-promiselike.js" }, "./is-proto-path": { "default": "./is-proto-path.js" }, "./is-regexp": { "default": "./is-regexp.js" }, "./is-safari": { "default": "./is-safari.js" }, "./is-set": { "default": "./is-set.js" }, "./is-string": { "default": "./is-string.js" }, "./is-symbol": { "default": "./is-symbol.js" }, "./is-touch-event": { "default": "./is-touch-event.js" }, "./is-transferable": { "default": "./is-transferable.js" }, "./is-true": { "default": "./is-true.js" }, "./is-typedarray": { "default": "./is-typedarray.js" }, "./is-uint32": { "default": "./is-uint32.js" }, "./is-undefined": { "default": "./is-undefined.js" }, "./is-uuid": { "default": "./is-uuid.js" }, "./is-uuid4": { "default": "./is-uuid4.js" }, "./is-zero": { "default": "./is-zero.js" } }, "thi.ng": { "alias": "ch" }, "gitHead": "9a0b33253fef092aaf301decf6ecd54317874d4c\n" }