Module
JS type check (TypeScript supported) functions like `isPlainObject() isArray()` etc. A simple & small integration.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137{ "name": "is-what", "version": "4.1.15", "description": "JS type check (TypeScript supported) functions like `isPlainObject() isArray()` etc. A simple & small integration.", "type": "module", "sideEffects": false, "types": "./dist/index.d.ts", "module": "./dist/index.js", "main": "./dist/index.js", "exports": { ".": { "require": { "types": "./dist/cjs/index.d.cts", "default": "./dist/cjs/index.cjs" }, "import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" } } }, "files": [ "dist" ], "engines": { "node": ">=12.13" }, "scripts": { "test": "vitest run", "lint": "tsc --noEmit && eslint ./src --ext .ts", "build": "rollup -c ./rollup.config.js", "build:docs": "typedoc", "release": "npm run lint && del dist && npm run build && np" }, "repository": { "type": "git", "url": "git+https://github.com/mesqueeb/is-what.git" }, "keywords": [ "javascript", "typescript", "typechecker", "check-type", "javascript-type", "primitive-types", "plain-object", "plain-objects", "class-instance", "class-identifier", "type-checking", "type-checker", "type-check", "define-type", "get-type", "what-type", "is-object", "is-plain-obj", "is-plain-object" ], "author": "Luca Ban - Mesqueeb", "funding": "https://github.com/sponsors/mesqueeb", "license": "MIT", "bugs": { "url": "https://github.com/mesqueeb/is-what/issues" }, "homepage": "https://github.com/mesqueeb/is-what#readme", "devDependencies": { "@typescript-eslint/eslint-plugin": "^5.59.6", "@typescript-eslint/parser": "^5.59.6", "del-cli": "^5.0.0", "eslint-config-prettier": "^8.8.0", "eslint-plugin-tree-shaking": "^1.10.0", "eslint": "^8.41.0", "np": "^8.0.2", "prettier-plugin-jsdoc": "^0.4.2", "prettier": "^2.8.8", "rollup-plugin-dts": "^5.3.0", "rollup-plugin-esbuild": "^5.0.0", "rollup": "^3.22.0", "typedoc": "^0.24.7", "typescript": "^5.0.4", "vitest": "^0.31.1" }, "ava": { "extensions": { "ts": "module" }, "nodeArguments": [ "--loader=ts-node/esm" ] }, "np": { "branch": "production", "publish": false, "yarn": false }, "eslintConfig": { "ignorePatterns": [ "node_modules", "dist", "scripts", "test" ], "root": true, "parser": "@typescript-eslint/parser", "plugins": [ "@typescript-eslint", "tree-shaking" ], "extends": [ "eslint:recommended", "plugin:@typescript-eslint/eslint-recommended", "plugin:@typescript-eslint/recommended", "prettier" ], "rules": { "@typescript-eslint/no-empty-function": "off", "@typescript-eslint/no-explicit-any": "off", "@typescript-eslint/ban-ts-ignore": "off", "tree-shaking/no-side-effects-in-initialization": "error", "@typescript-eslint/ban-ts-comment": "off" } }, "prettier": { "printWidth": 100, "tabWidth": 2, "singleQuote": true, "trailingComma": "es5", "semi": false, "bracketSpacing": true, "quoteProps": "consistent", "plugins": [ "prettier-plugin-jsdoc" ] }}