marella / material-icons

Latest icon fonts and CSS for self-hosting material design icons.
https://marella.github.io/material-icons/demo/
Apache License 2.0
305 stars 36 forks source link

Publish codepoints/versions.json? #32

Closed neodescis closed 2 years ago

neodescis commented 2 years ago

I'm interested in creating an icon picker using this package, but I'd really like to have a list of icons available so I don't need to copy the list and keep it updated. Would it be possible to publish codepoints.json and/or versions.json to npm?

marella commented 2 years ago

I can include _data/versions.json in the package. codepoints.json is not reliable to get list of available icons as it is generated from font files and contains some extra ligatures which are not valid icons.

neodescis commented 2 years ago

OK, I thought as much from one of the commits. Publishing versions.json would be very useful!

marella commented 2 years ago

Published in the latest release 1.11.0

neodescis commented 2 years ago

I just completed my icon picker based on this data, and it's very nice. Thanks again!