Personal collection of front-end scripts I use to process specific front-end tasks. Will add to this when I come up with more ideas.
third-party
- compress-svg
- fonts
- icons-vercel easier than material-icons...
- color-palette-generator
- read-me-github-badges
- SVG-base-64
- font-fallback
-
invert-css: Bulk invert css variable colors, I use this for converting my dark themes to light themes and vice versa.
-
npm-install-helper: Copy and paste a list of npm packages straight from a package.json file and this script will produce an npm install command.
-
generate-html-head-w-json: Generate with JSON for easy templating
- Requires a web interface to run, use the link above.
- For those very specific cases where you need to dynamically create SVG elements in the DOM, but don't want to go through the trouble of writing dozens of
document.createElementNS
calls and naming each path, rect, circle, etc. - This script will generate the script for you, and can recreate any web-accessible SVG file.
- I use this whenever I make custom components that need SVGs and want to avoid innerHTML or any kind of request.
- Requires a web interface to run, use the link above.
- Generates very abstract and unique CSS gradients. They work really well as backdrops for pattern overlays, I use transparenttextures.com.
- Copy to clipboard css
- Prettify-SVG-In-Bulk : CLI package to prettify SVG directory