▲ | mg 10 hours ago | ||||||||||||||||||||||
Beautiful. Single file, 187 lines of JavaScript, no dependencies, does one thing and does it well. I wish there was a way to search for libraries like this one. Almost every time I look for some piece of open source software, I end up writing it myself because all the solutions I find are overcomplicated and try to do too many things. | |||||||||||||||||||||||
▲ | deskr 8 hours ago | parent | next [-] | ||||||||||||||||||||||
My thoughts exactly. I was expecting the classic millions of dependencies. Very nice! | |||||||||||||||||||||||
▲ | chipdart 10 hours ago | parent | prev | next [-] | ||||||||||||||||||||||
> Single file, 187 lines of JavaScript, no dependencies, does one thing and does it well. Even though I understood your point, a cursory glance suggests it only maps a JavaScript object to a SVG. Hardly something with more than one responsibility, or something you need anything other than plain JavaScript to do. | |||||||||||||||||||||||
| |||||||||||||||||||||||
▲ | h1fra 6 hours ago | parent | prev [-] | ||||||||||||||||||||||
Except this file does almost nothing compared to the actual website. The website is worth 1Mb of dependencies |