A node JS WordPress detection.
npm install
Have a look to the tests in test/tests.js
for more examples.
const wp = require('./theme.js');
wp.themeInfos(url, (infos) => {
if( infos.error ) console.log( infos.error );
console.log(infos);
});
wp.listFrontPlugins(url)
.then( u => console.log(u) )
.catch ( e => console.log('Error => ', e) );