Detect JavaScript libraries used on any web page, in your CLI.
docker run --rm hochzehn/detectjs http://cnn.com/
gives
{
"address": "http://cnn.com/",
"date": 1464338170336,
"javascript": {
"hasError": true,
"libraries": [
{
"name": "jQuery",
"version": "1.12.3"
},
{
"name": "Modernizr",
"version": "3.3.1"
},
{
"name": "yepnope",
"version": ""
}
]
}
}
We mainly stick together amazing work done by these software craftsmen:
- Ariya Hidayat (ariya) - PhantomJS and JS library detection script
- John Michel (johnmichel) - Library Detector for Chrome
bin/updateLibraries.sh