JSPM

hilt-minifier

1.2.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q22183F
  • License ISC

A minifier tool for different types of files, check the readme!

Package Exports

  • hilt-minifier
  • hilt-minifier/bin/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (hilt-minifier) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

HILT

HILT

Minifier Tool for CSS

Installation

This package is meant to be used in the commandline. You can use the npm command below to install it.

npm i hilt-minifier -g

This is a global NPM package, you can use it by using the hilt command in your terminal/command prompt. I plan on adding more file types if anyone is interested or in need of it, just email me at the address near the bottom of this page.

Flags

-s (single file minifier)

-d (entire working directory file minifier)

-c (keep comments and minify)

-r (remove comments only)

Usage

hilt -s name.css

The above command will allow you to completely minify the file "name.css" that is in the current working directory. You can include -c or -r after the file name if you want to implement those options.

HILT will automatically create a newly minified file without altering the original, and in the same working directory.

For a complete directory minify, use hilt -d. You can also use the -c and -r flags when performing an entire directory minify.

CLI Interface

The interface is easy to understand, and fully color-coded to help differentiate the important parts of the text. You can see some snippets below:

Single File Minify

single-minify

Working Directory Minify

directory-minify
You are welcome to support SoftServv, which helps us build more free tools like this. You can email support@softservv.com if you are interested, but it is NOT necessary to utilize and enjoy any of the tools.
I wanted to give a special thanks for using HILT or any other SoftServv tools or software! -Chase Quinn