Viper WordPress Connect
This package has been created to function as a connector to retrieve the data directly from the WordPress Database.
Installation
npm install @webbio/viper-wp-connect
Usage
WpConnector.configure({
Database: ...,
Posts: ...,
});
WpConnector.getPage(permalink);
Database - Database Configuration Object Posts - Array of posts that are available in the WordPress project