@b8t/quickoptimize

1.0.5 • Public • Published

QuickOptimize

QuickOptimize is a tool designed to download and optimize CSS and JS files from a specified website. It uses various libraries to minimize the size of these files, helping to improve website performance.

Features

  • Download CSS and JS files from a specified website.
  • Minimize the size of CSS and JS files.
  • Log the size reduction of the files.

Installation

  1. Clone the repository:
    git clone https://github.com/h-kod/QuickOptimize.git
  2. Navigate to the project directory:
    cd QuickOptimize
  3. Install the dependencies:
    npm install

Usage

To start the optimization process, run the following command:

node index.js --website <website_url> --css=<true|false> --js=<true|false>
node index.js --website https://www.lipsum.com --css=true --js=true

Replace <website_url> with the URL of the website you want to optimize, and set --css and --js to true or false depending on whether you want to optimize CSS and/or JS files.

Dependencies

License

This project is licensed under the ISC License.

Readme

Keywords

none

Package Sidebar

Install

npm i @b8t/quickoptimize

Weekly Downloads

14

Version

1.0.5

License

ISC

Unpacked Size

17.7 kB

Total Files

12

Last publish

Collaborators

  • h-kod