@frankhoodbs/uglify-js
TypeScript icon, indicating that this package has built-in type declarations

1.3.9 • Public • Published

@frankhoodbs/uglify-js

A simple Node.js script to minify JavaScript files in a specified directory.

Version License

Installation

To install the utility globally:

npm install -g @frankhoodbs/uglify-js

Usage

To use the utility:

fh-uglify-js <path_to_directory>

Replace <path_to_directory> with the path to the directory containing the JavaScript files you want to minify.

Example:

If you have a directory named dist with JavaScript files, you can minify them with:

fh-uglify-js ./dist

Features

  • Easy to use: just provide the path to the directory.
  • Provides feedback for each file processed.
  • Uses UglifyJS for minification, ensuring high-quality and efficient results.

Feedback

Files that are successfully minified will be indicated with a ✅ and the path to the file in green. Files that fail to minify will be indicated with a 🚫 and the path to the file in red.

Dependencies

This utility is built on several popular Node.js packages, including UglifyJS, chalk, node-emoji, and walk-sync. Thanks to all the maintainers and contributors of these libraries for making this utility possible!

License

ISC

Feedback & Issues

If you encounter any issues or have feedback, please contact us.

Readme

Keywords

none

Package Sidebar

Install

npm i @frankhoodbs/uglify-js

Weekly Downloads

151

Version

1.3.9

License

ISC

Unpacked Size

5.79 kB

Total Files

6

Last publish

Collaborators

  • giando110188
  • frankhood-info
  • skill83
  • m.brandonisio