aspnet-client-validation
aspnet-client-validation copied to clipboard
Add CDN to documentation
Hi
I suggest to update the docs with a link to the CDN, e.g. https://www.jsdelivr.com/package/npm/aspnet-client-validation
e.g.
Via CDN
<script src="https://cdn.jsdelivr.net/npm/aspnet-client-validation/dist/aspnet-validation.min.js" integrity="sha256-/PB6zFj7vHhLEgj9N93L5ls5YYCbREXwMGtQktTUDSI=" crossorigin="anonymous"></script>
I like that idea, but I don't like that I have to remember to update the integrity attribute every single release in the readme. I'll need to think about how to make that not a big pain.
An idea is to include the CDN link but without integrity attribute. Then add a general note telling people to get the integrity attribute at the CDN provider/jsdelivr instead.
What do you think?
Sounds good. Where exactly to do you find the integrity attribute? I'd want to provide a link.
Also, feel free to submit a PR with the change to the README so you get the credit! 😄