Skip to content

A python 3 script to search for uses of cdnjs in files or web pages, then uses the cdnjs API to check for updates.

License

Notifications You must be signed in to change notification settings

newtovaux/cdn-js-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cdnjs Checker

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.

Dependencies

pip3 install packaging

Run

python3 ./cdnjs-checker.py ./testfile.html

or

python3 ./cdnjs-checker.py https://cdnjs.com

cdnjs

About cdnjs: https://cdnjs.com/about

API: https://cdnjs.com/api

License

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

Thanks to @mattipv4 for their suggested improvements.