| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
This endpoint returns a version of the WPAPI library configured to use Fetch for HTTP requests.
Install both wpapi and isomorphic-unfetch using the command npm install --save wpapi isomorphic-unfetch.
import WPAPI from 'wpapi/fetch';
// Configure and use WPAPI as normal
const site = new WPAPI( { /* ... */ } );| Back | FazBrowse Home | New Git URL |