/wp-detect

A node.js app to get informations about a given WordPress website 📎

Primary LanguageJavaScript

WP detect

A node JS WordPress detection.

How to use

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) );