A python 3 script to search for uses of cdnjs in files or web pages, then uses the cdnjs API to check for potential updates.
pip3 install packaging
python3 ./cdnjs-checker.py ./testfile.html
or
python3 ./cdnjs-checker.py https://cdnjs.com
About cdnjs: https://cdnjs.com/about
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
https://creativecommons.org/licenses/by-sa/4.0/
Author: newtovaux
https://github.com/newtovaux/cdn-js-checker
Thanks to @mattipv4 for their suggested improvements.