UNPKG

decimal128

Version:

Partial implementation of IEEE 754 Decimal128 decimal floating-point numbers

69 lines (68 loc) 1.89 kB
{ "name": "decimal128", "version": "22.0.0", "type": "module", "description": "Partial implementation of IEEE 754 Decimal128 decimal floating-point numbers", "directories": { "test": "tests" }, "repository": { "type": "git", "url": "https://github.com/jessealama/decimal128.js.git" }, "main": "dist/cjs/Decimal128.cjs", "module": "dist/esm/Decimal128.mjs", "typings": "dist/esm/Decimal128.d.ts", "exports": { "node": { "module-sync": "./dist/esm/Decimal128.mjs", "types": "./dist/esm/Decimal128.d.ts", "default": "./dist/cjs/Decimal128.cjs" }, "types": "./dist/esm/Decimal128.d.ts", "default": "./dist/esm/Decimal128.mjs" }, "sideEffects": false, "scripts": { "build": "mkdir -p dist && esbuild ./src/Decimal128.mjs --bundle --outfile=./dist/Decimal128.js", "test": "jest", "format": "prettier . --write", "lint": "prettier . --check", "coverage": "npx c8 npx jest" }, "prettier": { "trailingComma": "es5", "tabWidth": 4, "semi": true, "singleQuote": false }, "keywords": [ "decimal", "float", "number", "IEEE", "bigdecimal" ], "author": "Jesse Alama <jesse@igalia.com>", "license": "ISC", "dependencies": { "jsbi": "^4.3.0" }, "devDependencies": { "@types/jest": "^29.5.1", "c8": "^10.1.2", "esbuild": "0.24.0", "jest": "^29.5.0", "jest-light-runner": "^0.6.0", "prettier": "^3.0.0", "ts-jest": "^29.1.0", "tsx": "^4.10.2", "typescript": "^5.1.3" }, "licenses": [ { "type": "BSD-2-Clause", "url": "https://opensource.org/license/bsd-2-clause/" } ] }