dinero.js
Version:
Create, calculate, and format money in JavaScript and TypeScript
73 lines (72 loc) • 1.75 kB
JSON
{
"name": "dinero.js",
"version": "2.0.2",
"description": "Create, calculate, and format money in JavaScript and TypeScript",
"engines": {
"node": ">=20.0.0"
},
"keywords": [
"money",
"monetary",
"amount",
"immutable",
"pure",
"side-effect free",
"currency",
"finance",
"typescript",
"formatting",
"bigint",
"decimal"
],
"homepage": "https://dinerojs.com",
"bugs": "https://github.com/dinerojs/dinero.js/issues",
"repository": {
"type": "git",
"url": "https://github.com/dinerojs/dinero.js.git"
},
"type": "module",
"license": "MIT",
"author": {
"name": "Sarah Dayan",
"url": "https://sarahdayan.dev"
},
"sideEffects": false,
"exports": {
".": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"./currencies": {
"types": "./dist/esm/currencies/index.d.ts",
"default": "./dist/esm/currencies/index.js"
},
"./bigint/currencies": {
"types": "./dist/esm/bigint/currencies/index.d.ts",
"default": "./dist/esm/bigint/currencies/index.js"
},
"./bigint": {
"types": "./dist/esm/bigint/index.d.ts",
"default": "./dist/esm/bigint/index.js"
}
},
"main": "dist/esm/index.js",
"umd:main": "dist/umd/index.production.js",
"jsdelivr": "dist/umd/index.production.js",
"unpkg": "dist/umd/index.production.js",
"module": "dist/esm/index.js",
"source": "src/index.ts",
"types": "dist/esm/index.d.ts",
"files": [
"dist/"
],
"scripts": {
"build:clean": "rimraf ./dist",
"build": "tsdown",
"lint": "oxlint .",
"test": "vitest --config ../../vitest.config.ts --dir src"
},
"devDependencies": {
"tsdown": "^0.20.1"
}
}