1.0.9 • Published 12 months ago

project-processor v1.0.9

Weekly downloads
-
License
ISC
Repository
-
Last release
12 months ago

Project Processor

Project Processor is a Node.js utility that recursively reads and extracts the content of specific files in your project directory, ignoring specified files and directories. The output is saved to a log file named ProjectProcessor.log.

Installation

To install the Project Processor globally via npm:

npm install -g project-processor

Usage

To run the Project Processor in your project directory, simply use the command:

project-processor

You can also specify additional files or directories to ignore by passing them as arguments:

project-processor db.js anotherFile.js

Example

Given a project structure:

├── config/
│   ├── db.js
│   └── logger.js
├── controllers/
│   └── auth.js
├── node_modules/
├── package-lock.json
├── .gitignore
└── .git/

Running the command:

project-processor

Will generate a ProjectProcessor.log file containing the content of all .js, .ts, .jsx, and .tsx files, excluding node_modules, package-lock.json, .gitignore, .git, logs, and the script file itself.