{
  "name": "decimal.js-light",
  "url": "https://canirequire.com/package/decimal.js-light/",
  "description": "An arbitrary-precision Decimal type for JavaScript.",
  "latest": "2.5.1",
  "latestPublished": "2020-09-30T21:10:57.180Z",
  "format": "cjs",
  "summary": "decimal.js-light@2.5.1 is a CommonJS package. decimal.js-light ships CommonJS only. require(\"decimal.js-light\") works everywhere. import \"decimal.js-light\" also works because Node.js and Bun can import CommonJS from ES modules, but only the default export is guaranteed; named imports depend on Node's static analysis of the module. It also declares a \"module\" field, so bundlers such as webpack, Vite and esbuild pick up an ESM build for tree-shaking.",
  "esmOnlySince": null,
  "esmOnlySinceDate": null,
  "lastCommonJsVersion": "2.5.1",
  "lastCommonJsDate": "2020-09-30T21:10:57.180Z",
  "nativeEsmSince": null,
  "types": "bundled",
  "nodeEngines": null,
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/MikeMcl/decimal.js-light",
  "weeklyDownloads": 47359163,
  "runtime": {
    "verifiedAt": "2026-09-09T15:28:18.210Z",
    "node": {
      "18": {
        "require": true,
        "import": true,
        "requireError": null,
        "importError": null
      },
      "20": {
        "require": true,
        "import": true,
        "requireError": null,
        "importError": null
      },
      "22": {
        "require": true,
        "import": true,
        "requireError": null,
        "importError": null
      },
      "24": {
        "require": true,
        "import": true,
        "requireError": null,
        "importError": null
      },
      "26": {
        "require": true,
        "import": true,
        "requireError": null,
        "importError": null
      }
    },
    "bun": {
      "require": true,
      "import": true,
      "requireError": null,
      "importError": null
    }
  },
  "formatHistory": [
    {
      "version": "2.5.1",
      "format": "cjs",
      "published": "2020-09-30T21:10:57.180Z"
    },
    {
      "version": "2.5.0",
      "format": "cjs",
      "published": "2018-10-16T20:01:21.833Z"
    },
    {
      "version": "2.4.1",
      "format": "cjs",
      "published": "2018-05-24T15:50:35.504Z"
    },
    {
      "version": "2.4.0",
      "format": "cjs",
      "published": "2018-05-22T11:17:50.171Z"
    },
    {
      "version": "2.3.1",
      "format": "cjs",
      "published": "2017-11-13T19:15:29.342Z"
    },
    {
      "version": "2.3.0",
      "format": "cjs",
      "published": "2017-09-26T21:38:32.158Z"
    },
    {
      "version": "2.2.5",
      "format": "cjs",
      "published": "2017-09-08T20:10:59.226Z"
    },
    {
      "version": "2.2.4",
      "format": "cjs",
      "published": "2017-08-15T22:38:48.277Z"
    },
    {
      "version": "2.2.3",
      "format": "cjs",
      "published": "2017-05-04T19:22:10.673Z"
    },
    {
      "version": "2.2.2",
      "format": "cjs",
      "published": "2017-04-05T18:12:06.480Z"
    },
    {
      "version": "2.2.1",
      "format": "cjs",
      "published": "2017-03-10T19:00:04.054Z"
    },
    {
      "version": "2.2.0",
      "format": "cjs",
      "published": "2017-01-10T17:37:03.317Z"
    },
    {
      "version": "2.1.0",
      "format": "cjs",
      "published": "2017-01-10T00:06:18.398Z"
    },
    {
      "version": "2.0.2",
      "format": "cjs",
      "published": "2016-12-12T13:38:10.015Z"
    },
    {
      "version": "1.0.4",
      "format": "cjs",
      "published": "2016-02-28T21:19:19.615Z"
    },
    {
      "version": "1.0.3",
      "format": "cjs",
      "published": "2016-02-25T19:22:30.994Z"
    },
    {
      "version": "1.0.2",
      "format": "cjs",
      "published": "2016-02-25T00:17:31.981Z"
    }
  ]
}