@irahuldutta02/num-abbr
Version:
A lightweight utility to abbreviate numbers with customizable options for formatting, suffixes, and more.
49 lines (48 loc) • 1.18 kB
JSON
{
"name": "@irahuldutta02/num-abbr",
"version": "3.0.1",
"description": "A lightweight utility to abbreviate numbers with customizable options for formatting, suffixes, and more.",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/esm/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build:esm": "tsc --project tsconfig.esm.json",
"build:cjs": "tsc --project tsconfig.cjs.json",
"build": "npm run build:esm && npm run build:cjs"
},
"repository": {
"type": "git",
"url": "git+https://github.com/irahuldutta02/num-abbr.git"
},
"keywords": [
"number",
"abbreviation",
"shorten",
"format",
"compact",
"suffix",
"humanize",
"convert",
"utility",
"helper",
"number-abbreviation",
"number-shortener",
"number-formatter",
"abbreviate-number",
"shorten-number",
"compact-number",
"human-readable"
],
"author": "Rahul Dutta",
"license": "MIT",
"bugs": {
"url": "https://github.com/irahuldutta02/num-abbr/issues"
},
"homepage": "https://github.com/irahuldutta02/num-abbr#readme",
"devDependencies": {
"typescript": "^5.8.2"
}
}