{
  "name": "resolve-from",
  "url": "https://canirequire.com/package/resolve-from/",
  "description": "Resolve the path of a module like `require.resolve()` but from a given path",
  "latest": "5.0.0",
  "latestPublished": "2019-04-15T04:06:25.601Z",
  "format": "cjs",
  "summary": "resolve-from@5.0.0 is a CommonJS package. resolve-from ships CommonJS only. require(\"resolve-from\") works everywhere. import \"resolve-from\" 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.",
  "esmOnlySince": null,
  "esmOnlySinceDate": null,
  "lastCommonJsVersion": "5.0.0",
  "lastCommonJsDate": "2019-04-15T04:06:25.601Z",
  "nativeEsmSince": null,
  "types": "definitely-typed",
  "nodeEngines": ">=8",
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/sindresorhus/resolve-from",
  "weeklyDownloads": 214222391,
  "runtime": {
    "verifiedAt": "2026-09-09T15:27:32.755Z",
    "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.0.0",
      "format": "cjs",
      "published": "2019-04-15T04:06:25.601Z"
    },
    {
      "version": "4.0.0",
      "format": "cjs",
      "published": "2017-09-23T09:48:16.876Z"
    },
    {
      "version": "3.0.0",
      "format": "cjs",
      "published": "2017-04-28T07:58:15.268Z"
    },
    {
      "version": "2.0.0",
      "format": "cjs",
      "published": "2015-11-29T05:09:13.029Z"
    },
    {
      "version": "1.0.1",
      "format": "cjs",
      "published": "2015-10-05T14:33:18.756Z"
    },
    {
      "version": "1.0.0",
      "format": "cjs",
      "published": "2014-07-20T00:34:24.210Z"
    }
  ]
}