UNPKG

is-odd-ts

Version:

A strict TypeScript-only utility to check if a number is odd, with modern type safety.

71 lines (70 loc) 1.53 kB
{ "name": "is-odd-ts", "version": "3.0.0", "description": "A strict TypeScript-only utility to check if a number is odd, with modern type safety.", "main": "./dist/index.js", "types": "./dist/index.d.ts", "type": "module", "scripts": { "build": "pkgroll --clean-dist --sourcemap --env.NODE_ENV=production --minify", "typecheck": "tsc --noEmit", "lint": "biome check --write", "lint:fix": "biome check --unsafe --write", "test": "tsx --test" }, "files": [ "dist" ], "sideEffects": false, "exports": { ".": { "import": "./dist/index.js", "types": "./dist/index.d.ts" } }, "repository": { "type": "git", "url": "git+https://github.com/JovanDj/is-odd-ts.git" }, "bugs": { "url": "https://github.com/JovanDj/is-odd-ts/issues" }, "homepage": "https://github.com/JovanDj/is-odd-ts#readme", "keywords": [ "odd", "is-odd", "number", "typescript", "ts", "strict", "type-safe", "utility", "ESM", "modern-js" ], "author": { "name": "Jovan Djukic", "email": "jovandjukic2@gmail.com", "url": "https://jovandjukic.com" }, "license": "MIT", "volta": { "node": "24.12.0" }, "engines": { "node": ">=24" }, "devDependencies": { "@biomejs/biome": "^2.3.10", "@stryker-mutator/core": "^9.4.0", "@tsconfig/node-ts": "^23.6.2", "@tsconfig/node24": "^24.0.3", "@tsconfig/recommended": "^1.0.13", "@tsconfig/strictest": "^2.0.8", "@types/node": "^24.10.4", "fast-check": "^4.5.2", "pkgroll": "^2.21.4", "tsx": "^4.21.0", "typescript": "^5.9.3" } }