CDNs from some Javascript libraries (not frameworks) that I usually use.
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js" integrity="sha512-bLT0Qm9VnAYZDflyKcBaQ2gg0hSYNQrJ8RilYldYQ1FxQYoCLtUjuuRuZo+fjqhx/qtq/1itJ0C2ejDxltZVFg==" crossorigin="anonymous"></script>
Color
It allows you to manipulate colors (convert rbg to hexadecimal, invert colors, etc.).
<script type="text/javascript" src="https://junon.me/color/color-0.7.1.js"></script>
CryptoJS (encryption)
I use it to encrypt URLs and objects to set a valid and unique ID for the Firebase data. Saves me many queries and iterations.
<script src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/4.0.0/crypto-js.min.js" integrity="sha512-nOQuvD9nKirvxDdvQ9OMqe2dgapbPB7vYAMrzJihw5m+aNcf0dX53m6YxM4LgA9u8e9eg9QX+/+mPu8kCNpV2A==" crossorigin="anonymous"></script>
Firebase (online database)
<script src="https://www.gstatic.com/firebasejs/7.14.4/firebase-app.js"></script> <script src="https://www.gstatic.com/firebasejs/7.14.4/firebase-database.js"></script> <script src="https://www.gstatic.com/firebasejs/7.14.4/firebase-firestore.js"></script>
Handlebars (mustache templates)
Useful to render templates with values.
<script src="https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/4.7.6/handlebars.js" integrity="sha512-MQkEjxbZvzs4TX8ES4/tTIyaYdtDlJzVocnPo0GoysTR0jCmNg0P2is7uqpCoWxmoS9X84CDVzuWgZD/R/Q2oQ==" crossorigin="anonymous"></script>
Lockr (local storage)
I use it when I need to save data in the browser.
<script src="https://cdnjs.cloudflare.com/ajax/libs/lockr/0.8.5/lockr.min.js" integrity="sha512-8nhyE3rEp+fxgfmxDsw6GnkPklyTfoSY7XJDnU2bd7gTvtP7wbJVvjnkfjMABYnbc4gxo60Gl3njnVJywZzXSg==" crossorigin="anonymous"></script>
MomentJS (datetime)
The must-have date and time library. It allows you to work with dates and timezones without pain.
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.18.1/moment.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/moment-timezone/0.5.13/moment-timezone-with-data.min.js"></script>
Rxjs (observables)
Useful if you want to work with events and observers.
<script src="https://cdnjs.cloudflare.com/ajax/libs/rxjs/6.6.2/rxjs.umd.js" integrity="sha512-olNIjSykS+NUNB5bRp0Y5xxwBhqxy6b94LXAbd3SDVm95noGjPEhe++Ozq6kNkjTDMc1U3aMMHmS8Asyzue6gg==" crossorigin="anonymous"></script>
Comments
Post a Comment