loqatevars
Version:
Locate JavaScript files with 'const' or 'process.env' usage in LLM-generated codebases
6 lines (4 loc) • 485 B
Markdown
# Lib Directory
This directory contains the core logic for the `loqatevars` application.
* **[`utils.js`](utils.js)**: This file contains all the main functions for scanning and analyzing the codebase. It is responsible for finding files, parsing them using `acorn` to create an Abstract Syntax Tree (AST), and then analyzing the AST to find `const` declarations and `process.env` usage.
* **[`errors.js`](errors.js)**: This file defines a custom error class for the application.