/Unused-JS-CSS-Detector

This Node.js script uses Puppeteer to detect unused JavaScript and CSS in a list of URLs. The results are written to a CSV file.

Primary LanguageJavaScriptMIT LicenseMIT

Unused JS/CSS Detector

This Node.js script uses Puppeteer to detect unused JavaScript and CSS in a list of URLs. The results are written to a CSV file.

Installation

First, clone the repository and navigate into the project directory.

git clone cd

Then, install the necessary dependencies using npm:

npm install

// Usage To use the script, edit the index.js (or the name of your script file) to include the URLs you want to check for unused JavaScript and CSS.

Once your URLs are set, run the script with:

npm start

The script will output the results to output.csv in the root of your project directory.

// License This project is licensed under the terms of the MIT license.