Code Minifier (JS, CSS, HTML)

0/5

扩展简介

Code Minifier, is an extension that lets you easily minify codes in your browser. This addon supports JavaScript, CSS, and HTML as input languages. You can either browser files via the (+) button at the UI (top-left corner) or drag & drop a file in the left textarea. The former method is preferred as the coding language for the input file can be detected automatically and the interface will be updated accordingly (no need to adjust the input language manually).

Code Minifier can work offline without the need for an internet connection. It uses an open-source library called "Terser" and available in this (https://github.com/terser/terser) GitHub repo. Moreover, it also uses the famous CodeMirror (https://github.com/codemirror/CodeMirror) library to format the input and output codes. Within the interface, there are several buttons at the top toolbar which are self-explanatory. There is also a settings list at the top which contains several options for the minifier. Change any desired settings and see the live result in the output field. To download the minified result, please click on the download button at the top toolbar.

If you have a feature request or found a bug to report, please fill the bug report form on the addon's homepage (https://mybrowseraddon.com/code-minifier.html).

安装

发表评论