UNPKG

is-odd-ts

Version:

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

68 lines (67 loc) 1.45 kB
{ "name": "is-odd-ts", "version": "2.0.3", "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": "tsc", "typecheck": "tsc --noEmit", "lint": "biome check --write", "lint:fix": "biome check --unsafe --write", "test": "node --experimental-strip-types --test src/**/*.test.ts" }, "files": [ "dist" ], "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": "22.17.1" }, "engines": { "node": ">=22" }, "devDependencies": { "@biomejs/biome": "^2.1.2", "@stryker-mutator/core": "^9.0.1", "@tsconfig/node-ts": "^23.6.1", "@tsconfig/node22": "^22.0.2", "@tsconfig/recommended": "^1.0.10", "@tsconfig/strictest": "^2.0.5", "@types/node": "^22.16.5", "fast-check": "^4.2.0", "typescript": "^5.8.3" } }