numeric-quantity
Version:
Number parser with support for mixed numbers, vulgar fractions, and Roman numerals
71 lines (70 loc) • 1.78 kB
JSON
{
"version": "3.2.2",
"license": "MIT",
"name": "numeric-quantity",
"author": "Jake Boone <jakeboone02@gmail.com>",
"description": "Number parser with support for mixed numbers, vulgar fractions, and Roman numerals",
"files": [
"dist"
],
"main": "./dist/cjs/index.js",
"module": "./dist/numeric-quantity.legacy-esm.js",
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"types": "./dist/numeric-quantity.d.mts",
"default": "./dist/numeric-quantity.mjs"
},
"require": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.js"
}
}
},
"types": "./dist/numeric-quantity.legacy-esm.d.ts",
"unpkg": "./dist/numeric-quantity.umd.min.js",
"bugs": {
"url": "https://github.com/jakeboone02/numeric-quantity/issues"
},
"homepage": "https://github.com/jakeboone02/numeric-quantity",
"repository": {
"type": "git",
"url": "https://github.com/jakeboone02/numeric-quantity.git"
},
"keywords": [
"parse",
"number",
"convert",
"fraction",
"decimal",
"roman",
"numerals"
],
"scripts": {
"start": "bun --hot ./main.html",
"build": "bunx --bun tsdown",
"docs": "typedoc",
"test": "bun test",
"watch": "bun test --watch",
"lint": "bunx oxlint",
"publish:npm": "np",
"fmt": "bunx oxfmt"
},
"devDependencies": {
"@types/bun": "^1.3.14",
"@types/node": "^25.9.1",
"@types/web": "^0.0.349",
"@typescript/native-preview": "^7.0.0-dev.20260527.2",
"np": "^11.2.1",
"oxfmt": "^0.52.0",
"oxlint": "^1.67.0",
"oxlint-tsgolint": "^0.23.0",
"tsdown": "^0.22.1",
"typedoc": "^0.28.19",
"typescript": "^6.0.3"
},
"engines": {
"node": ">=16"
}
}