Skip to content

tommypk17/min-css

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

min-css

This NodeJs package was created for fun & to learn a little more about the npm/nodejs package management process.

The purpose of the package is to minify css files, though it is rudimentary, it is helpful enough and gets a result that is close enough to suffice in a crunch.

Project Structure

min-css is a simple structure. Primary functionality can be found in the root index.js file.


Installing

As of now, this package is not hosted via npm.org. The github repo can be directly referenced when installing. Please find the install script below.

npm i --save-dev https://github.com/tommypk17/min-css

Usage

To get started, after installation, the postinstall process should have setup a new script in the parent package.json file. This is primarily for ease of use and to reduce complex commands. While inside the root of the project that needs css file minification, run the code below. This will create a brand new file with the same location and name, but with a .min.css extension.

npm run min-css -- --path=./path/to/file.css

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published