@pro-script/as-is
Version:
Check your types at runtime with ESNext syntax by meta programing in node.js and browser with interfaces, types, strict object and more.
115 lines (114 loc) • 2.65 kB
JSON
{
"name": "@pro-script/as-is",
"version": "1.6.51",
"description": "Check your types at runtime with ESNext syntax by meta programing in node.js and browser with interfaces, types, strict object and more.",
"main": "index.js",
"type": "module",
"exports": {
".": {
"require": "./dist/as-is.common.cjs",
"module": "./dist/as-is.esm.mjs",
"browser": "./dist/as-is.browser.js",
"default": "./index.js"
}
},
"engines": {
"node": ">=14.18.3"
},
"directories": {},
"scripts": {
"test": "node tests/pro-script.test.js",
"test:esm": "export NODE_ENV=esm && node tests/pro-script.test.js",
"test:browser": "npx browser-sync --start --no-online ",
"build": "node build.config.js",
"build:esm": "export NODE_ENV=esm && node build.config.js",
"build:common": "export NODE_ENV=common && node build.config.js",
"build:browser": "export NODE_ENV=browser && node build.config.js"
},
"keywords": [
"as-is",
"js-inteface",
"interface-check",
"types-check",
"javascript",
"ESNext",
"typechecker",
"enum-type",
"strict-type",
"multi-type",
"repeated-type-check",
"validator-integration",
"check-type",
"javascript-type",
"primitive-types",
"class-check",
"type-checking",
"type-checker",
"type-check",
"define-type",
"get-type",
"what-type",
"is enum",
"is string",
"is number",
"is boolean",
"is symbol",
"is function",
"is BigInt",
"is undefined",
"is null",
"is array",
"is array",
"is date",
"is object",
"is set",
"is map",
"is WeakSet",
"is WeakMap",
"is WeakRef",
"is RegExp",
"is Error",
"is RangeError",
"is ReferenceError",
"is SyntaxError",
"is TypeError",
"is Buffer",
"is Promise",
"is JSON",
"is JSON5",
"is class",
"is empty",
"is notEmpty"
],
"author": "Volodymyr Kotov (aka Kotowolod) <kotowolod@gmail.com> UKRAINE",
"license": "MIT",
"files": [
"*.js",
"index.html",
"/lib/*.*",
"/docs/*.*",
"/tests/*.*",
"/tests/macroTests/*.*",
"/vendor/*.*",
"/public/*.*",
"/dist/*.*",
"/lib/types/*.*",
"/lib/classes/*.*",
"README.md",
"LICENSE"
],
"homepage": "https://github.com/pro-script/as-is",
"bugs": {
"url": "https://github.com/pro-script/as-is/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/pro-script/as-is.git"
},
"devDependencies": {
"terser": "^5.36.0"
},
"dependencies": {
"@pro-script/as-is-plugins": "^0.4.5"
}
}