{"library":"deps-regex","type":"library","category":null,"description":"deps-regex is a JavaScript utility that provides a regular expression to match `require()` and `import` statements within source code. It is currently at version 0.2.0. This library is designed for performance-critical scenarios where using a full Abstract Syntax Tree (AST) parser would introduce too much overhead. Its primary differentiator is its lightweight, regex-based approach, which comes with inherent fragility and a higher likelihood of false positives compared to syntax tree parsing. Release cadence is infrequent, and its low version number suggests a focused, specific-purpose tool rather than a broadly maintained library. Developers should be aware of its limitations regarding parsing accuracy and potential issues with complex or non-standard code structures.","language":"javascript","status":"maintenance","version":"0.2.0","tags":["javascript","exec","expression","expressions","find","match","matcher","matches","matching","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install deps-regex","imports":["import DepsRegex from 'deps-regex';","const DepsRegex = require('deps-regex');","import type { DepsRegexOptions } from 'deps-regex';"]},{"cmd":"yarn add deps-regex","imports":[]},{"cmd":"pnpm add deps-regex","imports":[]}],"homepage":null,"github":"https://github.com/mathieudutour/deps-regex","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/deps-regex","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/deps-regex/compatibility"}}