2.0.3 • Published 2 years ago

automin v2.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Automin

Create minified mirror of your JS, CSS, HTML, JSON files.

Installation

With NPM: npm install -g automin

or

  • git clone https://github.com/jxmked/Auto-Min.git
  • cd Auto-Min && npm install && npm link .

Command

FlagsDescriptionAction
-h, --helpPrint HelpOptional
-i, --inputInput DirectoryRequired
-o, --outputOutput DirectoryRequired
--overwriteRemove all files from output folderOptional
--mergeKeep old files from outout folder and overwrite files that has been processed from input folderoptional

Note: --merge and --overwrite cannot be use at the same time

Notes:

  • Output folder will be overwritten and remove files that doesn't belong to original copies
  • Install it globally

Some Notes

Can work Offline after installation.

Easy To use, just automin -i <input> -o <output> and wait until its done.

Using uglifyjs nameCache feature to preserve function names for next-file-use.

Files with file format of .js .css, .html, .json can be minified.

Other minifiers can be implemented easily by editing ./src/components/minifier.ts file.

Except for files with .min. before extension.

Force skip for .git and node_modules

Dependencies


Written by Jovan De Guia

Socials

2.0.3

2 years ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.1.0

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.0

2 years ago

0.1.213

9 years ago

0.1.212

9 years ago

0.1.211

9 years ago

0.1.210

9 years ago

0.1.209

9 years ago

0.1.208

9 years ago

0.1.207

9 years ago

0.1.206

9 years ago

0.1.204

9 years ago

0.1.203

9 years ago

0.1.202

9 years ago

0.1.201

9 years ago

0.1.153

9 years ago

0.1.152

9 years ago

0.1.151

9 years ago

0.1.15

9 years ago

0.1.14

9 years ago

0.1.13

9 years ago

0.1.12

9 years ago

0.1.11

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago