{
  "name": "esquery",
  "url": "https://canirequire.com/package/esquery/",
  "description": "A query library for ECMAScript AST using a CSS selector like query language.",
  "latest": "1.7.0",
  "latestPublished": "2025-12-31T15:44:57.664Z",
  "format": "cjs",
  "summary": "esquery@1.7.0 is a CommonJS package. esquery ships CommonJS only. require(\"esquery\") works everywhere. import \"esquery\" 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": "1.7.0",
  "lastCommonJsDate": "2025-12-31T15:44:57.664Z",
  "nativeEsmSince": null,
  "types": "definitely-typed",
  "nodeEngines": ">=0.10",
  "deprecated": null,
  "license": "BSD-3-Clause",
  "repository": "https://github.com/estools/esquery",
  "weeklyDownloads": 101021550,
  "runtime": {
    "verifiedAt": "2026-09-09T15:27:46.391Z",
    "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": "1.7.0",
      "format": "cjs",
      "published": "2025-12-31T15:44:57.664Z"
    },
    {
      "version": "1.6.0",
      "format": "cjs",
      "published": "2024-07-08T16:35:18.418Z"
    },
    {
      "version": "1.5.0",
      "format": "cjs",
      "published": "2023-03-02T01:54:10.770Z"
    },
    {
      "version": "1.4.2",
      "format": "cjs",
      "published": "2023-02-16T13:44:41.994Z"
    },
    {
      "version": "1.4.1",
      "format": "cjs",
      "published": "2023-02-16T01:26:33.748Z"
    },
    {
      "version": "1.4.0",
      "format": "cjs",
      "published": "2021-02-05T22:51:56.573Z"
    },
    {
      "version": "1.3.1",
      "format": "cjs",
      "published": "2020-04-16T18:16:38.750Z"
    },
    {
      "version": "1.3.0",
      "format": "cjs",
      "published": "2020-04-15T01:17:19.865Z"
    },
    {
      "version": "1.2.1",
      "format": "cjs",
      "published": "2020-04-13T20:38:37.463Z"
    },
    {
      "version": "1.2.0",
      "format": "cjs",
      "published": "2020-03-23T03:56:46.904Z"
    },
    {
      "version": "1.1.0",
      "format": "cjs",
      "published": "2020-02-12T18:14:15.571Z"
    },
    {
      "version": "1.0.1",
      "format": "cjs",
      "published": "2018-04-02T16:01:27.890Z"
    },
    {
      "version": "1.0.0",
      "format": "cjs",
      "published": "2017-03-10T23:12:16.863Z"
    },
    {
      "version": "0.4.0",
      "format": "cjs",
      "published": "2015-05-05T04:17:31.458Z"
    },
    {
      "version": "0.3.0",
      "format": "cjs",
      "published": "2013-11-04T23:31:50.965Z"
    },
    {
      "version": "0.2.0",
      "format": "cjs",
      "published": "2013-08-06T23:48:02.992Z"
    },
    {
      "version": "0.1.0",
      "format": "cjs",
      "published": "2013-08-03T19:06:36.521Z"
    },
    {
      "version": "0.0.1",
      "format": "cjs",
      "published": "2013-07-24T00:20:04.295Z"
    }
  ]
}