Hacker GitHub

← All repos

tdewolff/minify

View on GitHub ↗ ★ 4,152 Go

Go minifiers for web formats

8 mentions on Hacker News by 8 people: 4 stories, 4 comments · first 2016-11-26 · latest 2022-09-28

Mentions per year 8 mentions · busiest year 2020 (3)
20082026
  1. …results with CLI tools that are not Node. I first looked to the Golang ecosystem. I stumbled upon https://github.com/tdewolff/minify . It just does minification. It's comparable in output size to other Node minifiers, but faster and just…
  2. …{ local file="$1" cwebp -q 100 "$file" -o "${file%.\*}.webp" } To minify everything (using https://github.com/tdewolff/minify ) find ./dist/ -type f \( \ -name "*.html" \ -o -name '*.js' \ -o -name '*.css' \ -o -name '*.svg' \ -o -name…
    comment by theden · 2022-06-30 · in Ask HN: Can I see your cheatsheet?
  3. Hugo uses https://github.com/tdewolff/minify internally, so that’s the relevant comparison.
  4. …alternative, specially if you use Go. For simple case, you don't need Node ou NPM at all. [1]: https://github.com/tdewolff/minify/tree/master/cmd/minify