parse-ingredient
Version:
Recipe ingredient parser with support for mixed numbers and vulgar fractions
72 lines (71 loc) • 1.78 kB
JSON
{
"name": "parse-ingredient",
"author": "Jake Boone",
"version": "2.2.0",
"license": "MIT",
"description": "Recipe ingredient parser with support for mixed numbers and vulgar fractions",
"files": [
"dist"
],
"main": "./dist/cjs/index.js",
"module": "./dist/parse-ingredient.legacy-esm.js",
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"types": "./dist/parse-ingredient.d.mts",
"default": "./dist/parse-ingredient.mjs"
},
"require": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.js"
}
}
},
"types": "./dist/parse-ingredient.legacy-esm.d.ts",
"unpkg": "./dist/parse-ingredient.umd.min.js",
"keywords": [
"parse",
"recipe",
"ingredient",
"quantity",
"number"
],
"bugs": {
"url": "https://github.com/jakeboone02/parse-ingredient/issues"
},
"homepage": "https://github.com/jakeboone02/parse-ingredient",
"repository": {
"type": "git",
"url": "https://github.com/jakeboone02/parse-ingredient"
},
"engines": {
"node": ">=10"
},
"scripts": {
"start": "bun --hot ./index.html",
"build": "bun --bun x tsdown",
"docs": "typedoc",
"test": "bun test",
"watch": "bun test --watch",
"lint": "bunx oxlint",
"fmt": "oxfmt",
"publish:npm": "np"
},
"devDependencies": {
"@types/bun": "^1.3.12",
"@types/node": "^25.6.0",
"@types/web": "^0.0.347",
"@typescript/native-preview": "^7.0.0-dev.20260420.1",
"np": "^11.2.0",
"oxfmt": "^0.45.0",
"oxlint": "^1.60.0",
"oxlint-tsgolint": "^0.21.1",
"tsdown": "^0.21.9",
"typedoc": "^0.28.19",
"typescript": "^6.0.3"
},
"dependencies": {
"numeric-quantity": "^3.2.1"
}
}