Search code examples
javascripthttp-headerscdn

How to set my own server as a CDN for hosting JS and JSON for 3rd parties


As simple as the title goes :

I have a js library I would to be accessible for 3rd party end users, without having to worry about CORS. Are there any free js libraries hosting services?

Following that, if I have json content I want accessible by 3rd party end users, how can I do it?


Solution

  • jsDeliver is a CDN that hosts GitHub projects and npm packages for free, provided the code is open-source JavaScript.