michaelampr / jam

Jam icons is a set of SVG icons designed for web projects, illustrations, print projects, etc. Licensed under MIT

Home Page:https://jam-icons.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Provide assets with CDN

CodeBrauer opened this issue · comments

Adding your assets to a CDN is pretty easy - and would help to grow your project, because more users can use it pretty easy (no downloading of assets - also faster page loads)

Thanks @CodeBrauer, it's a great idea.
I'll check your links shortly to provide Jam via CDN

hey @michaelampr good job here!

could you also add them as a package to npm? This will make it possible to use it with a CDN like unpkg.com and I will also be able to add them on icongr.am

@jenil Wow, didn't know about icongr.am, cool project - a bit offtopic but maybe you could add a lot more: https://github.com/CodeBrauer/awesome-icon-fonts

Hey @jenil thanks!

I should add the package today to npm to make it available to unpkg too.
Just went to icongr.am, nice project!

@CodeBrauer @jenil , just added Jam to NPM.
I updated the Readme file with CDN link and npm install command.

@jenil let me know when you add Jam to icongr.am so I would be able to share it :)

Have a good day!

Thanks @michaelampr!

I'd recommend providing a simple JS API so people can get the SVG content for each icon. Something like what I did for simple-icons

Do you mind adding this or I could also make a PR for this?

Hey @jenil !

Just added the JS API

Hey @michaelampr

I was just using the npm package and am getting an error about the icon not found, I figured you have an incorrect path ${__dirname}/icons/${i.file} here

Could you change it to ${__dirname}/svg/${i.file} and publish an update?

Thanks!

Hey @jenil

Thanks to point that out!
Just corrected and updated the package. It should work now 👍

Thanks @jenil !