Skip to content

YodaLightsabr/icons-dino-icu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

icons.dino.icu

An attempt to make a CDN for the Hack Club icons.

API v2

GET /icons/color:{color}/glyph:{glyph}.svg

  • {color} - The color of the icon. If it's a hex color, prefix it with 0x.
  • {glyph} The glyph you'd like to get. From https://icons.hackclub.com

An example: https://icons.dino.icu/icons/color:0xec3750/glyph:clubs.svg

NPM Package

inport IconsDinoICU from 'icons-dino-icu';

console.log(IconsDinoICU.icon('channels', 256, 'red'));

Note: uses esm only