{
  "name": "to-words",
  "version": "5.5.0",
  "description": "Convert numbers to words in 124 locales with currency, ordinal, and BigInt support (TypeScript, ESM/CJS/UMD).",
  "keywords": [
    "amount in words",
    "bigint",
    "cheque amount in words",
    "convert-numbers",
    "converter",
    "currency",
    "currency amount to words",
    "currency to words",
    "i18n",
    "international number to words",
    "international number to words currency",
    "internationalization",
    "invoice amount in words",
    "localization",
    "multilingual",
    "num2words",
    "number",
    "number to text",
    "number to words",
    "number to words currency",
    "number-to-words",
    "numbers to words",
    "numbers-to-words",
    "ordinal",
    "to words",
    "typescript",
    "word"
  ],
  "homepage": "https://github.com/mastermunj/to-words#readme",
  "bugs": {
    "url": "https://github.com/mastermunj/to-words/issues"
  },
  "license": "MIT",
  "author": "Munjal Dhamecha",
  "repository": {
    "type": "git",
    "url": "https://github.com/mastermunj/to-words.git"
  },
  "bin": {
    "to-words": "./dist/cjs/cli.js"
  },
  "files": [
    "dist/**/*"
  ],
  "type": "module",
  "main": "dist/cjs/ToWords.js",
  "module": "dist/esm/ToWords.js",
  "browser": "dist/umd/to-words.min.js",
  "types": "dist/types/ToWords.d.ts",
  "typesVersions": {
    "*": {
      "*": [
        "dist/types/locales/*"
      ],
      "types": [
        "dist/types/types"
      ],
      "core": [
        "dist/types/ToWordsCore"
      ]
    }
  },
  "unpkg": "dist/umd/to-words.min.js",
  "jsdelivr": "dist/umd/to-words.min.js",
  "exports": {
    ".": {
      "types": "./dist/types/ToWords.d.ts",
      "import": "./dist/esm/ToWords.js",
      "require": "./dist/cjs/ToWords.js"
    },
    "./*": {
      "types": "./dist/types/locales/*.d.ts",
      "import": "./dist/esm/locales/*.js",
      "require": "./dist/cjs/locales/*.js"
    },
    "./types": {
      "types": "./dist/types/types.d.ts",
      "import": "./dist/esm/types.js",
      "require": "./dist/cjs/types.js"
    },
    "./core": {
      "types": "./dist/types/ToWordsCore.d.ts",
      "import": "./dist/esm/ToWordsCore.js",
      "require": "./dist/cjs/ToWordsCore.js"
    }
  },
  "scripts": {
    "bench": "vitest bench",
    "build": "npm run clean && npm run build:cjs && npm run build:esm && npm run build:umd && npm run build:pkgjson && npm run build:cli",
    "build:cjs": "tsc -p tsconfig.cjs.json",
    "build:cli": "chmod +x dist/cjs/cli.js",
    "build:esm": "tsc -p tsconfig.esm.json",
    "build:pkgjson": "echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json",
    "build:umd": "node --experimental-strip-types scripts/build-umd.ts",
    "build:watch": "npm run build -- --watch",
    "clean": "rimraf dist coverage",
    "commit": "git-cz",
    "format": "oxfmt --check --config ./node_modules/@mastermunj/oxc-config/.oxfmtrc.json .",
    "format:fix": "oxfmt --write --config ./node_modules/@mastermunj/oxc-config/.oxfmtrc.json .",
    "lint": "oxlint --type-aware .",
    "lint:fix": "npm run lint -- --fix",
    "prepare": "husky",
    "test": "vitest",
    "test:watch": "npm run test -- --watch"
  },
  "devDependencies": {
    "@commitlint/cli": "^20.5.0",
    "@commitlint/config-conventional": "^20.5.0",
    "@mastermunj/oxc-config": "^0.0.4",
    "@types/lodash": "^4.17.24",
    "@types/node": "^25.5.0",
    "@types/source-map-support": "^0.5.10",
    "@vitest/coverage-v8": "^4.1.2",
    "cz-conventional-changelog": "^3.3.0",
    "esbuild": "^0.28.0",
    "husky": "^9.1.7",
    "lint-staged": "^16.4.0",
    "lodash": "^4.17.23",
    "oxfmt": "^0.44.0",
    "oxlint": "^1.57.0",
    "oxlint-tsgolint": "^0.20.0",
    "rimraf": "^6.1.3",
    "source-map-support": "^0.5.21",
    "typescript": "^6.0.2",
    "vitest": "^4.1.2"
  },
  "overrides": {
    "commitizen": {
      "lodash": "4.17.23"
    },
    "tmp": "0.2.5"
  },
  "config": {
    "commitizen": {
      "path": "./node_modules/cz-conventional-changelog"
    }
  },
  "engines": {
    "node": ">=20.0.0"
  }
}
