@thi.ng/checks
Advanced tools
Comparing version 2.9.11 to 3.0.0
190
CHANGELOG.md
@@ -6,17 +6,26 @@ # Change Log | ||
## [2.9.11](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.9.10...@thi.ng/checks@2.9.11) (2021-09-03) | ||
# [3.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.9.11...@thi.ng/checks@3.0.0) (2021-10-12) | ||
**Note:** Version bump only for package @thi.ng/checks | ||
### Build System | ||
* major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea9fab2a645d6c5f2bf2591459b939c09b6)) | ||
### BREAKING CHANGES | ||
# [2.9.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.8.0...@thi.ng/checks@2.9.0) (2021-02-20) | ||
* discontinue CommonJS & UMD versions | ||
- only ESM modules will be published from now on | ||
- CJS obsolete due to ESM support in recent versions of node: | ||
- i.e. launch NodeJS via: | ||
- `node --experimental-specifier-resolution=node --experimental-repl-await` | ||
- in the node REPL use `await import(...)` instead of `require()` | ||
- UMD obsolete due to widespread browser support for ESM | ||
### Features | ||
Also: | ||
- normalize/restructure/reorg all package.json files | ||
- cleanup all build scripts, remove obsolete | ||
- switch from mocha to @thi.ng/testament for all tests | ||
* **checks:** add isIllegalKey() (make public) ([507fc80](https://github.com/thi-ng/umbrella/commit/507fc806903e766e42a98ddd569ba4031925204b)) | ||
* **checks:** replace isPrototypePolluted() w/ isProtoPath() ([d276b84](https://github.com/thi-ng/umbrella/commit/d276b8465eda21a32f3613d20c043ea50fce7f57)) | ||
@@ -27,162 +36,137 @@ | ||
# [2.8.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.7.13...@thi.ng/checks@2.8.0) (2021-01-10) | ||
# [2.9.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.8.0...@thi.ng/checks@2.9.0) (2021-02-20) | ||
### Features | ||
### Features | ||
- **checks:** add isIllegalKey() (make public) ([507fc80](https://github.com/thi-ng/umbrella/commit/507fc806903e766e42a98ddd569ba4031925204b)) | ||
- **checks:** replace isPrototypePolluted() w/ isProtoPath() ([d276b84](https://github.com/thi-ng/umbrella/commit/d276b8465eda21a32f3613d20c043ea50fce7f57)) | ||
* **checks:** add isNumericInt/Float() checks ([7e054c1](https://github.com/thi-ng/umbrella/commit/7e054c14b06850800869ba0bc8c8174e233dda53)) | ||
# [2.8.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.7.13...@thi.ng/checks@2.8.0) (2021-01-10) | ||
### Features | ||
- **checks:** add isNumericInt/Float() checks ([7e054c1](https://github.com/thi-ng/umbrella/commit/7e054c14b06850800869ba0bc8c8174e233dda53)) | ||
## [2.7.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.7.2...@thi.ng/checks@2.7.3) (2020-07-02) | ||
### Bug Fixes | ||
## [2.7.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.7.2...@thi.ng/checks@2.7.3) (2020-07-02) | ||
- **checks:** update isPlainObject() type assertion ([e5ceb7d](https://github.com/thi-ng/umbrella/commit/e5ceb7d3e1ef5be7a4e83319ab1c36bbc3e1b1a8)) | ||
# [2.7.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.6.5...@thi.ng/checks@2.7.0) (2020-05-14) | ||
### Bug Fixes | ||
### Features | ||
* **checks:** update isPlainObject() type assertion ([e5ceb7d](https://github.com/thi-ng/umbrella/commit/e5ceb7d3e1ef5be7a4e83319ab1c36bbc3e1b1a8)) | ||
- **checks:** add isAsyncIterable() ([59ac3a9](https://github.com/thi-ng/umbrella/commit/59ac3a9ea2588bf8afc0a8e9bfed72ffb875c47d)) | ||
# [2.6.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.5.4...@thi.ng/checks@2.6.0) (2020-03-28) | ||
### Bug Fixes | ||
- **checks:** typo ([4e4a6e1](https://github.com/thi-ng/umbrella/commit/4e4a6e1062075705d96883f860f23b545fd9ebdf)) | ||
### Features | ||
# [2.7.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.6.5...@thi.ng/checks@2.7.0) (2020-05-14) | ||
- **checks:** add better type assertion for isTypedArray() ([548ba52](https://github.com/thi-ng/umbrella/commit/548ba5205033bcc4a917fa56ede65ba3df4b3eef)) | ||
- **checks:** add new string validators ([9d9e8a8](https://github.com/thi-ng/umbrella/commit/9d9e8a8bcb73efb728faf4a216a9dfcac31a0639)) | ||
# [2.5.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.4.2...@thi.ng/checks@2.5.0) (2020-01-24) | ||
### Features | ||
### Features | ||
* **checks:** add isAsyncIterable() ([59ac3a9](https://github.com/thi-ng/umbrella/commit/59ac3a9ea2588bf8afc0a8e9bfed72ffb875c47d)) | ||
- **checks:** add hasBigInt() ([aa4faed](https://github.com/thi-ng/umbrella/commit/aa4faed08362caa591f64d1ffce75e8d9e213dd9)) | ||
# [2.4.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.3.0...@thi.ng/checks@2.4.0) (2019-09-21) | ||
### Features | ||
- **checks:** add generics to existsAndNotNull() ([bced8b9](https://github.com/thi-ng/umbrella/commit/bced8b9)) | ||
# [2.3.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.2.2...@thi.ng/checks@2.3.0) (2019-08-16) | ||
# [2.6.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.5.4...@thi.ng/checks@2.6.0) (2020-03-28) | ||
### Bug Fixes | ||
- **checks:** better hex string, export, isNil doc ([19b1981](https://github.com/thi-ng/umbrella/commit/19b1981)) | ||
- **checks:** fix vscode autoimport ([8ac6408](https://github.com/thi-ng/umbrella/commit/8ac6408)) | ||
- **checks:** test, better naming ([90dce20](https://github.com/thi-ng/umbrella/commit/90dce20)) | ||
### Bug Fixes | ||
### Features | ||
* **checks:** typo ([4e4a6e1](https://github.com/thi-ng/umbrella/commit/4e4a6e1062075705d96883f860f23b545fd9ebdf)) | ||
- **checks:** isNil and isHexColorString ([ebaa15e](https://github.com/thi-ng/umbrella/commit/ebaa15e)) | ||
# [2.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.1.6...@thi.ng/checks@2.2.0) (2019-07-07) | ||
### Features | ||
### Bug Fixes | ||
* **checks:** add better type assertion for isTypedArray() ([548ba52](https://github.com/thi-ng/umbrella/commit/548ba5205033bcc4a917fa56ede65ba3df4b3eef)) | ||
* **checks:** add new string validators ([9d9e8a8](https://github.com/thi-ng/umbrella/commit/9d9e8a8bcb73efb728faf4a216a9dfcac31a0639)) | ||
- **checks:** isMobile for Chrome iOS ([8216d48](https://github.com/thi-ng/umbrella/commit/8216d48)) | ||
### Features | ||
- **checks:** enable TS strict compiler flags (refactor) ([90515e7](https://github.com/thi-ng/umbrella/commit/90515e7)) | ||
## [2.1.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.1.1...@thi.ng/checks@2.1.2) (2019-03-12) | ||
### Bug Fixes | ||
# [2.5.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.4.2...@thi.ng/checks@2.5.0) (2020-01-24) | ||
- **checks:** fix [#77](https://github.com/thi-ng/umbrella/issues/77), update & minor optimization isPlainObject() ([47ac88a](https://github.com/thi-ng/umbrella/commit/47ac88a)) | ||
### Features | ||
# [2.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.0.2...@thi.ng/checks@2.1.0) (2019-02-10) | ||
* **checks:** add hasBigInt() ([aa4faed](https://github.com/thi-ng/umbrella/commit/aa4faed08362caa591f64d1ffce75e8d9e213dd9)) | ||
### Features | ||
# [2.4.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.3.0...@thi.ng/checks@2.4.0) (2019-09-21) | ||
- **checks:** add isPrimitive() ([190701e](https://github.com/thi-ng/umbrella/commit/190701e)) | ||
### Features | ||
# [2.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@1.5.14...@thi.ng/checks@2.0.0) (2019-01-21) | ||
* **checks:** add generics to existsAndNotNull() ([bced8b9](https://github.com/thi-ng/umbrella/commit/bced8b9)) | ||
### Build System | ||
# [2.3.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.2.2...@thi.ng/checks@2.3.0) (2019-08-16) | ||
- update package build scripts & outputs, imports in ~50 packages ([b54b703](https://github.com/thi-ng/umbrella/commit/b54b703)) | ||
### Bug Fixes | ||
### BREAKING CHANGES | ||
* **checks:** better hex string, export, isNil doc ([19b1981](https://github.com/thi-ng/umbrella/commit/19b1981)) | ||
* **checks:** fix vscode autoimport ([8ac6408](https://github.com/thi-ng/umbrella/commit/8ac6408)) | ||
* **checks:** test, better naming ([90dce20](https://github.com/thi-ng/umbrella/commit/90dce20)) | ||
- enabled multi-outputs (ES6 modules, CJS, UMD) | ||
- build scripts now first build ES6 modules in package root, then call `scripts/bundle-module` to build minified CJS & UMD bundles in `/lib` | ||
- all imports MUST be updated to only refer to package level (not individual files anymore). tree shaking in user land will get rid of all unused imported symbols. | ||
### Features | ||
## [1.5.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@1.5.3...@thi.ng/checks@1.5.4) (2018-06-18) | ||
* **checks:** isNil and isHexColorString ([ebaa15e](https://github.com/thi-ng/umbrella/commit/ebaa15e)) | ||
### Bug Fixes | ||
# [2.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.1.6...@thi.ng/checks@2.2.0) (2019-07-07) | ||
- **checks:** isOdd() for negative values ([3589e15](https://github.com/thi-ng/umbrella/commit/3589e15)) | ||
### Bug Fixes | ||
## [1.5.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@1.5.0...@thi.ng/checks@1.5.1) (2018-04-29) | ||
* **checks:** isMobile for Chrome iOS ([8216d48](https://github.com/thi-ng/umbrella/commit/8216d48)) | ||
### Bug Fixes | ||
### Features | ||
- **checks:** exclude functions in isArrayLike() ([ac60404](https://github.com/thi-ng/umbrella/commit/ac60404)) | ||
- **checks:** return type isMap() ([76920f7](https://github.com/thi-ng/umbrella/commit/76920f7)) | ||
* **checks:** enable TS strict compiler flags (refactor) ([90515e7](https://github.com/thi-ng/umbrella/commit/90515e7)) | ||
# [1.5.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@1.4.0...@thi.ng/checks@1.5.0) (2018-04-26) | ||
## [2.1.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.1.1...@thi.ng/checks@2.1.2) (2019-03-12) | ||
### Features | ||
### Bug Fixes | ||
- **checks:** add date, map, nan, set checks ([a865f62](https://github.com/thi-ng/umbrella/commit/a865f62)) | ||
* **checks:** fix [#77](https://github.com/thi-ng/umbrella/issues/77), update & minor optimization isPlainObject() ([47ac88a](https://github.com/thi-ng/umbrella/commit/47ac88a)) | ||
# [1.4.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@1.3.2...@thi.ng/checks@1.4.0) (2018-04-08) | ||
# [2.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.0.2...@thi.ng/checks@2.1.0) (2019-02-10) | ||
### Features | ||
### Features | ||
- **checks:** add hasPerformance() check (performance.now) ([40d706b](https://github.com/thi-ng/umbrella/commit/40d706b)) | ||
* **checks:** add isPrimitive() ([190701e](https://github.com/thi-ng/umbrella/commit/190701e)) | ||
## [1.3.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@1.3.1...@thi.ng/checks@1.3.2) (2018-04-04) | ||
# [2.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@1.5.14...@thi.ng/checks@2.0.0) (2019-01-21) | ||
### Bug Fixes | ||
### Build System | ||
- **checks:** add prototype check for isPlainObject(), add tests ([bffc443](https://github.com/thi-ng/umbrella/commit/bffc443)) | ||
* update package build scripts & outputs, imports in ~50 packages ([b54b703](https://github.com/thi-ng/umbrella/commit/b54b703)) | ||
# [1.3.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@1.2.1...@thi.ng/checks@1.3.0) (2018-03-08) | ||
### BREAKING CHANGES | ||
### Features | ||
* enabled multi-outputs (ES6 modules, CJS, UMD) | ||
- **checks:** add isPromise() & isPromiseLike() ([9900e99](https://github.com/thi-ng/umbrella/commit/9900e99)) | ||
- build scripts now first build ES6 modules in package root, then call | ||
`scripts/bundle-module` to build minified CJS & UMD bundles in `/lib` | ||
- all imports MUST be updated to only refer to package level | ||
(not individual files anymore). tree shaking in user land will get rid of | ||
all unused imported symbols. | ||
# [1.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@1.1.6...@thi.ng/checks@1.2.0) (2018-02-08) | ||
<a name="1.5.4"></a> | ||
## [1.5.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@1.5.3...@thi.ng/checks@1.5.4) (2018-06-18) | ||
### Features | ||
### Bug Fixes | ||
* **checks:** isOdd() for negative values ([3589e15](https://github.com/thi-ng/umbrella/commit/3589e15)) | ||
<a name="1.5.1"></a> | ||
## [1.5.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@1.5.0...@thi.ng/checks@1.5.1) (2018-04-29) | ||
### Bug Fixes | ||
* **checks:** exclude functions in isArrayLike() ([ac60404](https://github.com/thi-ng/umbrella/commit/ac60404)) | ||
* **checks:** return type isMap() ([76920f7](https://github.com/thi-ng/umbrella/commit/76920f7)) | ||
<a name="1.5.0"></a> | ||
# [1.5.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@1.4.0...@thi.ng/checks@1.5.0) (2018-04-26) | ||
### Features | ||
* **checks:** add date, map, nan, set checks ([a865f62](https://github.com/thi-ng/umbrella/commit/a865f62)) | ||
<a name="1.4.0"></a> | ||
# [1.4.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@1.3.2...@thi.ng/checks@1.4.0) (2018-04-08) | ||
### Features | ||
* **checks:** add hasPerformance() check (performance.now) ([40d706b](https://github.com/thi-ng/umbrella/commit/40d706b)) | ||
<a name="1.3.2"></a> | ||
## [1.3.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@1.3.1...@thi.ng/checks@1.3.2) (2018-04-04) | ||
### Bug Fixes | ||
* **checks:** add prototype check for isPlainObject(), add tests ([bffc443](https://github.com/thi-ng/umbrella/commit/bffc443)) | ||
<a name="1.3.0"></a> | ||
# [1.3.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@1.2.1...@thi.ng/checks@1.3.0) (2018-03-08) | ||
### Features | ||
* **checks:** add isPromise() & isPromiseLike() ([9900e99](https://github.com/thi-ng/umbrella/commit/9900e99)) | ||
<a name="1.2.0"></a> | ||
# [1.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@1.1.6...@thi.ng/checks@1.2.0) (2018-02-08) | ||
### Features | ||
* **checks:** add new predicates, refactor existing ([68f8fc2](https://github.com/thi-ng/umbrella/commit/68f8fc2)) | ||
- **checks:** add new predicates, refactor existing ([68f8fc2](https://github.com/thi-ng/umbrella/commit/68f8fc2)) |
239
package.json
{ | ||
"name": "@thi.ng/checks", | ||
"version": "2.9.11", | ||
"version": "3.0.0", | ||
"description": "Collection of 50+ type, feature & value checks", | ||
"type": "module", | ||
"module": "./index.js", | ||
"main": "./lib/index.js", | ||
"umd:main": "./lib/index.umd.js", | ||
"typings": "./index.d.ts", | ||
"sideEffects": false, | ||
"repository": { | ||
@@ -27,14 +27,10 @@ "type": "git", | ||
"scripts": { | ||
"build": "yarn clean && yarn build:es6 && node ../../scripts/bundle-module", | ||
"build:release": "yarn clean && yarn build:es6 && node ../../scripts/bundle-module all", | ||
"build:es6": "tsc --declaration", | ||
"build:test": "rimraf build && tsc -p test/tsconfig.json", | ||
"build:check": "tsc --isolatedModules --noEmit", | ||
"test": "mocha test", | ||
"cover": "nyc mocha test && nyc report --reporter=lcov", | ||
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib", | ||
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts", | ||
"doc": "typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts", | ||
"build": "yarn clean && tsc --declaration", | ||
"clean": "rimraf *.js *.d.ts *.map doc", | ||
"doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts", | ||
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose", | ||
"pub": "yarn build:release && yarn publish --access public" | ||
"doc:readme": "yarn doc:stats && ../../scripts/node-esm ../../tools/src/readme.ts", | ||
"doc:stats": "../../scripts/node-esm ../../tools/src/module-stats.ts", | ||
"pub": "yarn build && yarn publish --access public", | ||
"test": "testament test" | ||
}, | ||
@@ -44,7 +40,5 @@ "dependencies": { | ||
}, | ||
"files": [ | ||
"*.js", | ||
"*.d.ts", | ||
"lib" | ||
], | ||
"devDependencies": { | ||
"@thi.ng/testament": "^0.1.0" | ||
}, | ||
"keywords": [ | ||
@@ -64,4 +58,207 @@ "detect", | ||
}, | ||
"sideEffects": false, | ||
"gitHead": "d971cb3f9b215a95483f78f1a8614015e331146f" | ||
"files": [ | ||
"*.js", | ||
"*.d.ts" | ||
], | ||
"exports": { | ||
".": { | ||
"import": "./index.js" | ||
}, | ||
"./exists-not-null": { | ||
"import": "./exists-not-null.js" | ||
}, | ||
"./exists": { | ||
"import": "./exists.js" | ||
}, | ||
"./has-bigint": { | ||
"import": "./has-bigint.js" | ||
}, | ||
"./has-crypto": { | ||
"import": "./has-crypto.js" | ||
}, | ||
"./has-max-length": { | ||
"import": "./has-max-length.js" | ||
}, | ||
"./has-min-length": { | ||
"import": "./has-min-length.js" | ||
}, | ||
"./has-performance": { | ||
"import": "./has-performance.js" | ||
}, | ||
"./has-wasm": { | ||
"import": "./has-wasm.js" | ||
}, | ||
"./has-webgl": { | ||
"import": "./has-webgl.js" | ||
}, | ||
"./has-websocket": { | ||
"import": "./has-websocket.js" | ||
}, | ||
"./implements-function": { | ||
"import": "./implements-function.js" | ||
}, | ||
"./is-alphanum": { | ||
"import": "./is-alphanum.js" | ||
}, | ||
"./is-array": { | ||
"import": "./is-array.js" | ||
}, | ||
"./is-arraylike": { | ||
"import": "./is-arraylike.js" | ||
}, | ||
"./is-ascii": { | ||
"import": "./is-ascii.js" | ||
}, | ||
"./is-async-iterable": { | ||
"import": "./is-async-iterable.js" | ||
}, | ||
"./is-blob": { | ||
"import": "./is-blob.js" | ||
}, | ||
"./is-boolean": { | ||
"import": "./is-boolean.js" | ||
}, | ||
"./is-chrome": { | ||
"import": "./is-chrome.js" | ||
}, | ||
"./is-data-url": { | ||
"import": "./is-data-url.js" | ||
}, | ||
"./is-date": { | ||
"import": "./is-date.js" | ||
}, | ||
"./is-even": { | ||
"import": "./is-even.js" | ||
}, | ||
"./is-false": { | ||
"import": "./is-false.js" | ||
}, | ||
"./is-file": { | ||
"import": "./is-file.js" | ||
}, | ||
"./is-firefox": { | ||
"import": "./is-firefox.js" | ||
}, | ||
"./is-float-string": { | ||
"import": "./is-float-string.js" | ||
}, | ||
"./is-function": { | ||
"import": "./is-function.js" | ||
}, | ||
"./is-hex-color": { | ||
"import": "./is-hex-color.js" | ||
}, | ||
"./is-hex": { | ||
"import": "./is-hex.js" | ||
}, | ||
"./is-ie": { | ||
"import": "./is-ie.js" | ||
}, | ||
"./is-in-range": { | ||
"import": "./is-in-range.js" | ||
}, | ||
"./is-int-string": { | ||
"import": "./is-int-string.js" | ||
}, | ||
"./is-int32": { | ||
"import": "./is-int32.js" | ||
}, | ||
"./is-iterable": { | ||
"import": "./is-iterable.js" | ||
}, | ||
"./is-map": { | ||
"import": "./is-map.js" | ||
}, | ||
"./is-mobile": { | ||
"import": "./is-mobile.js" | ||
}, | ||
"./is-nan": { | ||
"import": "./is-nan.js" | ||
}, | ||
"./is-negative": { | ||
"import": "./is-negative.js" | ||
}, | ||
"./is-nil": { | ||
"import": "./is-nil.js" | ||
}, | ||
"./is-node": { | ||
"import": "./is-node.js" | ||
}, | ||
"./is-not-string-iterable": { | ||
"import": "./is-not-string-iterable.js" | ||
}, | ||
"./is-null": { | ||
"import": "./is-null.js" | ||
}, | ||
"./is-number": { | ||
"import": "./is-number.js" | ||
}, | ||
"./is-numeric": { | ||
"import": "./is-numeric.js" | ||
}, | ||
"./is-object": { | ||
"import": "./is-object.js" | ||
}, | ||
"./is-odd": { | ||
"import": "./is-odd.js" | ||
}, | ||
"./is-plain-object": { | ||
"import": "./is-plain-object.js" | ||
}, | ||
"./is-positive": { | ||
"import": "./is-positive.js" | ||
}, | ||
"./is-primitive": { | ||
"import": "./is-primitive.js" | ||
}, | ||
"./is-promise": { | ||
"import": "./is-promise.js" | ||
}, | ||
"./is-promiselike": { | ||
"import": "./is-promiselike.js" | ||
}, | ||
"./is-proto-path": { | ||
"import": "./is-proto-path.js" | ||
}, | ||
"./is-regexp": { | ||
"import": "./is-regexp.js" | ||
}, | ||
"./is-safari": { | ||
"import": "./is-safari.js" | ||
}, | ||
"./is-set": { | ||
"import": "./is-set.js" | ||
}, | ||
"./is-string": { | ||
"import": "./is-string.js" | ||
}, | ||
"./is-symbol": { | ||
"import": "./is-symbol.js" | ||
}, | ||
"./is-transferable": { | ||
"import": "./is-transferable.js" | ||
}, | ||
"./is-true": { | ||
"import": "./is-true.js" | ||
}, | ||
"./is-typedarray": { | ||
"import": "./is-typedarray.js" | ||
}, | ||
"./is-uint32": { | ||
"import": "./is-uint32.js" | ||
}, | ||
"./is-undefined": { | ||
"import": "./is-undefined.js" | ||
}, | ||
"./is-uuid": { | ||
"import": "./is-uuid.js" | ||
}, | ||
"./is-uuid4": { | ||
"import": "./is-uuid4.js" | ||
}, | ||
"./is-zero": { | ||
"import": "./is-zero.js" | ||
} | ||
}, | ||
"gitHead": "9ac1344b38b565eb894306fbf72233b6c0b2d115" | ||
} |
@@ -38,11 +38,19 @@ <!-- This file is generated - DO NOT EDIT! --> | ||
ES module import: | ||
```html | ||
// ES module | ||
<script type="module" src="https://unpkg.com/@thi.ng/checks?module" crossorigin></script> | ||
<script type="module" src="https://cdn.skypack.dev/@thi.ng/checks"></script> | ||
``` | ||
// UMD | ||
<script src="https://unpkg.com/@thi.ng/checks/lib/index.umd.js" crossorigin></script> | ||
[Skypack documentation](https://docs.skypack.dev/) | ||
For NodeJS (v14.6+): | ||
```text | ||
node --experimental-specifier-resolution=node --experimental-repl-await | ||
> const checks = await import("@thi.ng/checks"); | ||
``` | ||
Package sizes (gzipped, pre-treeshake): ESM: 1.63 KB / CJS: 1.89 KB / UMD: 1.59 KB | ||
Package sizes (gzipped, pre-treeshake): ESM: 1.63 KB | ||
@@ -49,0 +57,0 @@ ## Dependencies |
91
Yes
47688
1
136
440