https://github.com/maxfreck/nudelo
Simple command-line HTML minifier
https://github.com/maxfreck/nudelo
Last synced: 2 months ago
JSON representation
Simple command-line HTML minifier
- Host: GitHub
- URL: https://github.com/maxfreck/nudelo
- Owner: maxfreck
- Created: 2017-11-11T15:17:52.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-11-14T16:05:04.000Z (over 7 years ago)
- Last Synced: 2025-01-30T17:38:31.747Z (4 months ago)
- Language: D
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nudelo
Nudelo is a very primitive command-line HTML minifier written in [D programming language](https://dlang.org/).## Usage examples
In order to use nudelo from the command-line, you simply pass a source and destination file name:
```
nudelo -i foo.html -o foo.min.html
```
Another way is to send data to the stdin and redirect the stdout to a file:
```
nudelo foo.min.html
```
Also, you can specify the command-line utilities to minify the fragments of JavaScript and CSS contained in the HTML:
```
nudelo -i foo.html -o foo.min.html --js uglifyjs --css cssnano
```