Hacker GitHub

← All repos

iconfu/svg-inject

View on GitHub ↗ ★ 837 TypeScript

A tiny, intuitive, robust, caching solution for injecting SVG files inline into the DOM.

6 mentions on Hacker News by 1 person: 3 stories, 3 comments · first 2018-08-31 · latest 2021-02-12

Mentions per year 6 mentions · busiest year 2018 (3)
20082026
  1. …at SVG Injection. This may solve your problems, as the injector will add a unique id to your SVG: https://github.com/iconfu/svg-inject
    comment by jansan · 2021-02-12 · in SVG: The Good, the Bad and the Ugly
  2. …pretty well and almost feels like working with normal images. Here is an open source SVG injector: https://github.com/iconfu/svg-inject
    comment by jansan · 2020-02-11 · in Where are all the animated SVGs?
  3. …a request to implement this functionality for ParcelJS, but decided against it. Here is the issue: https://github.com/iconfu/svg-inject/issues/19 Basically we want to keep the project small and focused on the injection itself. Also there…