GitShow/Rich-Harris/terser-playground
Rich-Harris

terser-playground

A playground for seeing how Terser minifies JavaScript

by Rich-Harris
Star on GitHubForkWebsite

HTML

14 stars2 forks2 contributorsQuiet · 5y agoSince 2018

Meet the team

See all 2 on GitHub →
Rich-Harris
Rich-Harris6 contributions
evs-chris
evs-chris1 contribution

Languages

View on GitHub →
HTML47.9%
JavaScript31%
CSS21.1%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

1 of 6 standards met

Community profile →
28
✓README○License○Contributing○Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Quiet · 1 in progress · Last activity 5y ago
See all on GitHub →
sokra
fix breaking change in terserOpenPR

This cool playground is broken since terser 5 was released. This upgrades all dependencies and adapts the worker for the new terser major version.

sokra · 5y ago
leeoniya
show before/after size & gzip size before/afterOpenIssue

eg https://github.com/beatgammit/gzip-js

leeoniya · 7y ago

Recent fixes

View closed PRs →
evs-chris
Switch to svelte v3 and add size outputs for plain and gzMergedPR

I was looking about for an easy way to check minified sizes on some es-after-5 code, and behold, there's a @Rich-Harris project for that! I wanted to try out svelte v3, so I ported this, and apart from being a little var-y in this case, it's really slick! The only weird-ish thing is not being able to observe a value to trigger some code. I tried to follow the RFCs, but I missed a bit there in the middle. Was there ever a proposal along the lines of ? That may be a bit too silly/magical, but it's a fairly common pattern for observers in lots of my code. You could even go crazy and allow for old values to be collected in a second param and subscriptions handled by destructure on the first. But again, that may peg the silly scale. I also added KiB outputs for plain text and gzip at level 6 for both input and output.

evs-chris · 7y ago
Structured data for AI agents

Repository: Rich-Harris/terser-playground. Description: A playground for seeing how Terser minifies JavaScript Stars: 14, Forks: 2. Primary language: HTML. Languages: HTML (47.9%), JavaScript (31%), CSS (21.1%). Homepage: https://terser-playground.surge.sh/ Open PRs: 1, open issues: 1. Last activity: 5y ago. Community health: 28%. Top contributors: Rich-Harris, evs-chris.

·@ofershap

Replace github.com with gitshow.dev