{
  "name": "fraction.js",
  "url": "https://canirequire.com/package/fraction.js/",
  "description": "The RAW rational numbers library",
  "latest": "5.3.4",
  "latestPublished": "2025-08-22T11:44:45.549Z",
  "format": "dual",
  "summary": "fraction.js@5.3.4 ships CommonJS and ESM builds. fraction.js publishes both a CommonJS entry and a native ESM entry (ESM added in 4.3.0). require(\"fraction.js\") and import \"fraction.js\" both work on every supported Node.js version and in Bun.",
  "esmOnlySince": null,
  "esmOnlySinceDate": null,
  "lastCommonJsVersion": "5.3.4",
  "lastCommonJsDate": "2025-08-22T11:44:45.549Z",
  "nativeEsmSince": "4.3.0",
  "types": "bundled",
  "nodeEngines": "*",
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/rawify/Fraction.js",
  "weeklyDownloads": 41696995,
  "runtime": {
    "verifiedAt": "2026-09-09T15:28:25.399Z",
    "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": "5.3.4",
      "format": "dual",
      "published": "2025-08-22T11:44:45.549Z"
    },
    {
      "version": "5.3.3",
      "format": "dual",
      "published": "2025-08-22T11:25:56.578Z"
    },
    {
      "version": "5.3.2",
      "format": "dual",
      "published": "2025-08-22T08:50:01.870Z"
    },
    {
      "version": "5.3.1",
      "format": "dual",
      "published": "2025-08-17T09:30:45.745Z"
    },
    {
      "version": "5.3.0",
      "format": "dual",
      "published": "2025-08-16T12:53:17.306Z"
    },
    {
      "version": "5.2.2",
      "format": "dual",
      "published": "2025-03-30T19:38:40.264Z"
    },
    {
      "version": "5.2.1",
      "format": "dual",
      "published": "2024-11-17T15:21:42.505Z"
    },
    {
      "version": "5.2.0",
      "format": "dual",
      "published": "2024-11-17T15:06:22.611Z"
    },
    {
      "version": "5.1.1",
      "format": "dual",
      "published": "2024-11-01T17:21:38.309Z"
    },
    {
      "version": "5.1.0",
      "format": "dual",
      "published": "2024-10-30T17:26:20.622Z"
    },
    {
      "version": "5.0.6",
      "format": "dual",
      "published": "2024-10-10T17:16:08.661Z"
    },
    {
      "version": "5.0.5",
      "format": "dual",
      "published": "2024-10-10T17:13:22.200Z"
    },
    {
      "version": "5.0.4",
      "format": "dual",
      "published": "2024-10-10T11:25:24.907Z"
    },
    {
      "version": "5.0.3",
      "format": "dual",
      "published": "2024-10-09T06:38:32.149Z"
    },
    {
      "version": "5.0.2",
      "format": "dual",
      "published": "2024-10-06T18:15:14.602Z"
    },
    {
      "version": "5.0.1",
      "format": "dual",
      "published": "2024-10-05T13:42:53.325Z"
    },
    {
      "version": "5.0.0",
      "format": "dual",
      "published": "2024-10-04T16:41:51.085Z"
    },
    {
      "version": "4.3.7",
      "format": "dual",
      "published": "2023-10-12T16:37:22.757Z"
    },
    {
      "version": "4.3.6",
      "format": "dual",
      "published": "2023-09-01T14:40:44.267Z"
    },
    {
      "version": "4.3.5",
      "format": "dual",
      "published": "2023-09-01T07:50:20.115Z"
    },
    {
      "version": "4.3.4",
      "format": "cjs",
      "published": "2023-08-31T08:05:48.153Z"
    },
    {
      "version": "4.3.3",
      "format": "cjs",
      "published": "2023-08-31T07:26:02.868Z"
    },
    {
      "version": "4.3.2",
      "format": "dual",
      "published": "2023-08-30T19:55:09.245Z"
    },
    {
      "version": "4.3.1",
      "format": "dual",
      "published": "2023-08-29T22:09:25.989Z"
    },
    {
      "version": "4.3.0",
      "format": "dual",
      "published": "2023-08-29T16:38:19.827Z"
    },
    {
      "version": "4.2.1",
      "format": "cjs",
      "published": "2023-08-20T07:41:15.483Z"
    },
    {
      "version": "4.2.0",
      "format": "cjs",
      "published": "2022-03-05T21:35:24.883Z"
    },
    {
      "version": "4.1.3",
      "format": "cjs",
      "published": "2022-02-07T13:06:49.250Z"
    },
    {
      "version": "4.1.2",
      "format": "cjs",
      "published": "2021-11-12T07:23:15.209Z"
    },
    {
      "version": "4.1.1",
      "format": "cjs",
      "published": "2021-05-23T11:51:13.632Z"
    },
    {
      "version": "4.1.0",
      "format": "cjs",
      "published": "2021-05-13T13:33:47.918Z"
    },
    {
      "version": "4.0.14",
      "format": "cjs",
      "published": "2021-05-13T13:09:40.879Z"
    },
    {
      "version": "4.0.13",
      "format": "cjs",
      "published": "2020-12-22T16:36:45.688Z"
    },
    {
      "version": "4.0.12",
      "format": "cjs",
      "published": "2019-01-03T09:44:05.252Z"
    },
    {
      "version": "4.0.11",
      "format": "cjs",
      "published": "2018-11-09T13:29:31.527Z"
    },
    {
      "version": "4.0.10",
      "format": "cjs",
      "published": "2018-10-15T15:29:52.668Z"
    },
    {
      "version": "4.0.9",
      "format": "cjs",
      "published": "2018-07-18T22:59:48.780Z"
    },
    {
      "version": "4.0.8",
      "format": "cjs",
      "published": "2018-04-13T22:54:19.936Z"
    },
    {
      "version": "4.0.7",
      "format": "cjs",
      "published": "2018-03-29T21:23:13.612Z"
    },
    {
      "version": "4.0.6",
      "format": "cjs",
      "published": "2018-03-29T21:06:17.877Z"
    },
    {
      "version": "4.0.5",
      "format": "cjs",
      "published": "2018-03-29T19:56:15.986Z"
    },
    {
      "version": "4.0.4",
      "format": "cjs",
      "published": "2017-12-09T00:17:01.366Z"
    },
    {
      "version": "4.0.3",
      "format": "cjs",
      "published": "2017-07-26T15:13:26.259Z"
    },
    {
      "version": "4.0.2",
      "format": "cjs",
      "published": "2017-06-30T14:13:13.628Z"
    },
    {
      "version": "4.0.1",
      "format": "cjs",
      "published": "2017-06-13T18:26:16.076Z"
    },
    {
      "version": "4.0.0",
      "format": "cjs",
      "published": "2017-02-08T23:10:46.386Z"
    },
    {
      "version": "3.3.1",
      "format": "cjs",
      "published": "2016-04-07T15:33:59.598Z"
    },
    {
      "version": "3.3.0",
      "format": "cjs",
      "published": "2016-03-24T22:53:31.838Z"
    },
    {
      "version": "3.2.5",
      "format": "cjs",
      "published": "2016-02-06T12:29:12.803Z"
    },
    {
      "version": "3.2.0",
      "format": "cjs",
      "published": "2016-01-18T05:20:54.892Z"
    },
    {
      "version": "3.1.0",
      "format": "cjs",
      "published": "2016-01-18T02:09:43.567Z"
    },
    {
      "version": "3.0.0",
      "format": "cjs",
      "published": "2015-09-09T11:09:48.253Z"
    },
    {
      "version": "2.9.0",
      "format": "cjs",
      "published": "2015-09-06T11:01:45.144Z"
    },
    {
      "version": "2.8.0",
      "format": "cjs",
      "published": "2015-09-04T16:48:58.496Z"
    },
    {
      "version": "2.7.0",
      "format": "cjs",
      "published": "2015-08-23T20:20:46.533Z"
    },
    {
      "version": "2.6.0",
      "format": "cjs",
      "published": "2015-08-23T01:26:16.843Z"
    },
    {
      "version": "2.5.0",
      "format": "cjs",
      "published": "2015-07-29T17:06:31.269Z"
    },
    {
      "version": "2.4.1",
      "format": "cjs",
      "published": "2015-07-07T12:56:03.869Z"
    },
    {
      "version": "2.4.0",
      "format": "cjs",
      "published": "2015-07-03T14:52:32.554Z"
    },
    {
      "version": "2.3.0",
      "format": "cjs",
      "published": "2015-06-23T11:16:00.181Z"
    }
  ]
}