@empellio/currency-utils
Version:
Lightweight TypeScript utilities for currency formatting and conversions using live exchange rates from public APIs (ECB, CNB, exchangerate.host), with caching and offline fallback.
70 lines (68 loc) • 1.73 kB
JSON
{
"name": "@empellio/currency-utils",
"version": "0.1.0",
"description": "Lightweight TypeScript utilities for currency formatting and conversions using live exchange rates from public APIs (ECB, CNB, exchangerate.host), with caching and offline fallback.",
"keywords": [
"currency",
"exchange-rates",
"format",
"ecb",
"cnb",
"exchangerate.host",
"typescript",
"utils"
],
"author": "Empellio OSS",
"license": "MIT",
"homepage": "https://github.com/empellio/urrency-utils#readme",
"bugs": {
"url": "https://github.com/empellio/urrency-utils/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/empellio/urrency-utils.git"
},
"type": "module",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"sideEffects": false,
"files": [
"dist"
],
"engines": {
"node": ">=18"
},
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"test": "vitest run",
"test:watch": "vitest",
"lint": "eslint . --ext .ts,.tsx",
"format": "prettier --write .",
"prepare": "npm run build"
},
"dependencies": {},
"optionalDependencies": {
"node-fetch": "^3.3.2"
},
"devDependencies": {
"@types/node": "^22.7.6",
"@typescript-eslint/eslint-plugin": "^8.7.0",
"@typescript-eslint/parser": "^8.7.0",
"eslint": "^9.9.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-unused-imports": "^4.1.4",
"prettier": "^3.3.3",
"tsup": "^8.3.0",
"typescript": "^5.6.2",
"vitest": "^2.1.1"
}
}