convert
Version:
The smallest & fastest library for really easy, totally type-safe unit conversions in TypeScript & JavaScript
108 lines (107 loc) • 2.36 kB
JSON
{
"name": "convert",
"version": "5.9.0",
"description": "The smallest & fastest library for really easy, totally type-safe unit conversions in TypeScript & JavaScript",
"keywords": [
"convert",
"convert-units",
"unit-conversion",
"uom",
"metric",
"imperial",
"units",
"unit",
"measurement",
"measure",
"temperature",
"mass",
"weight",
"length",
"data"
],
"homepage": "https://convert.js.org/",
"repository": {
"type": "git",
"url": "http://github.com/jonahsnider/convert.git"
},
"license": "MIT",
"author": {
"name": "Jonah Snider",
"email": "jonah@jonahsnider.com",
"url": "https://jonahsnider.com"
},
"sideEffects": false,
"type": "commonjs",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"default": "./dist/index.js"
}
},
"main": "./dist/index.js",
"jsdelivr": "./dist/index.mjs",
"unpkg": "./dist/index.mjs",
"module": "./dist/index.mjs",
"browser": "./dist/index.mjs",
"react-native": "./dist/index.js",
"typings": "./dist/index.d.ts",
"files": [
"dist/",
"!dist/typings",
"!dist/src",
"!dist/test",
"!dist/scripts",
"!dist/rollup.config.js"
],
"devDependencies": {
"@babel/core": "7.26.10",
"@babel/preset-env": "7.26.9",
"@biomejs/biome": "1.9.4",
"@codspeed/vitest-plugin": "4.0.1",
"@jonahsnider/util": "11.0.0",
"@microsoft/api-extractor": "7.52.2",
"@rollup/plugin-babel": "6.0.4",
"@rollup/plugin-node-resolve": "16.0.1",
"@rollup/plugin-swc": "0.4.0",
"@rollup/plugin-terser": "0.4.4",
"@size-limit/preset-small-lib": "11.2.0",
"@swc/core": "1.11.13",
"@tsconfig/node20": "20.1.5",
"@tsconfig/strictest": "2.0.5",
"@types/node": "22.13.13",
"@vitest/coverage-v8": "3.0.5",
"@vitest/ui": "^3.0.0",
"bignumber.js": "9.1.2",
"just-install": "2.0.2",
"rollup": "4.37.0",
"size-limit": "11.2.0",
"typedoc": "0.28.1",
"typescript": "5.8.2",
"vitest": "3.0.5"
},
"packageManager": "yarn@4.7.0",
"runkitExampleFilename": "./docs/runkit.js",
"size-limit": [
{
"brotli": true,
"limit": "5.72 KB",
"path": "./dist/index.js"
},
{
"gzip": true,
"limit": "7.2 KB",
"path": "./dist/index.js"
},
{
"brotli": true,
"limit": "5.52 KB",
"path": "./dist/index.mjs"
},
{
"gzip": true,
"limit": "6.96 KB",
"path": "./dist/index.mjs"
}
]
}