UNPKG

@tool-belt/type-predicates

Version:

A comprehensive collection of performant type guards and assertions with excellent TypeScript support

99 lines 2.57 kB
{ "name": "@tool-belt/type-predicates", "version": "1.4.0", "description": "A comprehensive collection of performant type guards and assertions with excellent TypeScript support", "repository": { "type": "git", "url": "git+https://github.com/Goldziher/type-predicates.git" }, "keywords": [ "assertions", "guards", "predicates", "runtime-checks", "type-assertions", "type-guards", "type-predicates", "type-safety", "typechecking", "typescript", "utilities", "utils", "validation" ], "author": "Na'aman Hirschfeld", "license": "MIT", "bugs": { "url": "https://github.com/Goldziher/type-predicates/issues" }, "homepage": "https://github.com/Goldziher/type-predicates#readme", "files": [ "dist", "LICENSE", "README.md" ], "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.js", "default": "./dist/index.mjs" } }, "sideEffects": false, "devDependencies": { "@commitlint/cli": "^19.8.1", "@commitlint/config-conventional": "^19.8.1", "@eslint/compat": "^1.2.9", "@eslint/js": "^9.27.0", "@types/node": "^22.15.21", "@vitest/coverage-v8": "^3.1.4", "eslint": "^9.27.0", "eslint-plugin-n": "17.18.0", "eslint-plugin-perfectionist": "^4.13.0", "eslint-plugin-promise": "7.2.1", "eslint-plugin-tsdoc": "^0.4.0", "eslint-plugin-unicorn": "59.0.1", "eslint-plugin-unused-imports": "^4.1.4", "eslint-plugin-vitest": "^0.5.4", "expect-type": "^1.2.1", "globals": "^16.1.0", "husky": "^9.1.7", "lint-staged": "^16.0.0", "prettier": "^3.5.3", "prettier-plugin-jsdoc": "^1.3.2", "rimraf": "^6.0.1", "type-fest": "^4.41.0", "typescript": "^5.8.3", "typescript-eslint": "^8.32.1", "vite": "^6.3.5", "vite-plugin-dts": "^4.5.4", "vitest": "^3.1.4" }, "lint-staged": { "*.{js,jsx,mjs,cjs,ts,tsx,mts,cts,json,md,mdx,yaml,yml}": [ "prettier --write" ], "*.{js,jsx,mjs,cjs,ts,tsx,mts,cts}": [ "eslint --fix" ] }, "engines": { "node": ">=18.0.0" }, "publishConfig": { "access": "public" }, "scripts": { "build": "rimraf dist && vite build", "format": "prettier --write .", "lint": "eslint --fix .", "typecheck": "tsc --noEmit", "test": "vitest run", "test:coverage": "vitest run --coverage", "test:watch": "vitest" } }