I am creating a reactjs based html page.
I want to use normalizr for my data.
I can get the reactjs directly in the html by the following:
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/15.4.2/react.js"></script>
But how to get normalizr. I didnt find any such link. Because it says to install using npm.
I want to directly use in the html like reactjs as above so is it possible
You can use unpkg to any file from any npm library as a link.
For normalizr
, the URL would be
https://unpkg.com/normalizr@3.3.0/dist/normalizr.min.js
If you need any other file from normalizer
repo, you can file the link for the file here
https://unpkg.com/normalizr@3.3.0/dist/
unpkg is super-fast and better than most cdns out there.