1.0.9 • Published 1 year ago
project-processor v1.0.9
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-processorUsage
To run the Project Processor in your project directory, simply use the command:
project-processorYou can also specify additional files or directories to ignore by passing them as arguments:
project-processor db.js anotherFile.jsExample
Given a project structure:
├── config/
│ ├── db.js
│ └── logger.js
├── controllers/
│ └── auth.js
├── node_modules/
├── package-lock.json
├── .gitignore
└── .git/Running the command:
project-processorWill 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.