Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wei/minifier
⚡️ Offline-first web app for an HTML, JS, CSS minifier.
https://github.com/wei/minifier
Last synced: 21 days ago
JSON representation
⚡️ Offline-first web app for an HTML, JS, CSS minifier.
- Host: GitHub
- URL: https://github.com/wei/minifier
- Owner: wei
- License: mit
- Created: 2017-08-01T01:31:51.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T01:32:42.000Z (almost 2 years ago)
- Last Synced: 2024-10-04T13:32:29.826Z (about 1 month ago)
- Language: JavaScript
- Homepage: https://minifier.app
- Size: 3.1 MB
- Stars: 17
- Watchers: 3
- Forks: 8
- Open Issues: 29
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Minifier for JavaScript, CSS and HTML
=======================================
Client-side offline-first JavaScript/CSS/HTML minifier. _Visit: https://minifier.app_## Description
This tool implements [Web Worker](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API) and [Service Worker](https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API). Just load it once and it will available for offline use.
Uses [html-minifier](https://github.com/kangax/html-minifier) which comes with [uglify-js](https://github.com/mishoo/UglifyJS2) and [clean-css](https://github.com/jakubpawlowicz/clean-css). See [default configurations](minify-config.json).
## Installation
```bash
$ export HTTPMINIFIER_VERSION=4.0.0 # Optional, Default to latest$ npm i && npm run build
```Start development server:
```bash
$ npm run watch
```## Questions?
Please [open an issue](https://github.com/wei/minifier/issues) or [email me](mailto:[email protected]) with any issues, feedback, or suggestions.
## Author
[**Wei He**](https://whe.me) [[email protected]_](mailto:[email protected])## License
[MIT](LICENSE)