UNPKG

@alwatr/is-number

Version:

A simple utility to Check the value is number or can convert to a number, for example string ' 123 ' can be converted to 123.

97 lines (96 loc) 2.5 kB
{ "name": "@alwatr/is-number", "description": "A simple utility to Check the value is number or can convert to a number, for example string ' 123 ' can be converted to 123.", "version": "5.7.17", "author": "S. Ali Mihandoost <ali.mihandoost@gmail.com>", "bugs": "https://github.com/Alwatr/nanolib/issues", "devDependencies": { "@alwatr/nano-build": "6.3.5", "@alwatr/prettier-config": "5.0.5", "@alwatr/tsconfig-base": "6.0.3", "jest": "^30.2.0", "typescript": "^5.9.3" }, "exports": { ".": { "types": "./dist/main.d.ts", "import": "./dist/main.mjs", "require": "./dist/main.cjs" } }, "files": [ "**/*.{js,mjs,cjs,map,d.ts,html,md,LEGAL.txt}", "LICENSE", "!demo/**/*", "!**/*.test.js" ], "homepage": "https://github.com/Alwatr/nanolib/tree/next/packages/is-number#readme", "keywords": [ "alwatr", "browser", "cross-platform", "ECMAScript", "esm", "finite", "integer", "is", "is-nan", "is-num", "is-number", "isfinite", "isnan", "isnumber", "javascript", "kind", "math", "mathematics", "module", "nan", "nanolib", "node", "nodejs", "num", "number", "numeric", "parseFloat", "parseInt", "type", "typeof", "typescript", "util", "utility", "utils" ], "license": "MPL-2.0", "main": "./dist/main.cjs", "module": "./dist/main.mjs", "prettier": "@alwatr/prettier-config", "publishConfig": { "access": "public" }, "repository": { "type": "git", "url": "https://github.com/Alwatr/nanolib", "directory": "packages/is-number" }, "scripts": { "b": "yarn run build", "build": "yarn run build:ts && yarn run build:es", "build:es": "nano-build --preset=module", "build:ts": "tsc --build", "c": "yarn run clean", "cb": "yarn run clean && yarn run build", "clean": "rm -rfv dist *.tsbuildinfo", "d": "yarn run build:es && yarn node --enable-source-maps --trace-warnings", "t": "yarn run test", "test": "NODE_OPTIONS=\"$NODE_OPTIONS --enable-source-maps --experimental-vm-modules\" jest", "w": "yarn run watch", "watch": "yarn run watch:ts & yarn run watch:es", "watch:es": "yarn run build:es --watch", "watch:ts": "yarn run build:ts --watch --preserveWatchOutput" }, "sideEffects": false, "type": "module", "types": "./dist/main.d.ts", "gitHead": "b141732f4dab13542e3cc99926a250fd5c74bad3" }