{"library":"wpapi","type":"library","category":null,"description":"An isomorphic JavaScript client for the WordPress REST API, enabling query-builder-style requests from Node.js or browser environments. Current stable version is 1.2.2, with a release cadence of major versions every few years. Key differentiators: built for the official WordPress REST API (WordPress 5.0+), supports auto-discovery, custom routes, media uploads, pagination, and embedding. Unlike generic HTTP clients, wpapi provides fluent methods for posts, comments, categories, tags, and custom post types, with built-in authentication support (Basic Auth, OAuth, nonces).","language":"javascript","status":"active","version":"1.2.2","tags":["javascript","api","client","cms","wordpress"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install wpapi","imports":["import WPAPI from 'wpapi'","import WPAPI from 'wpapi'; const request = WPAPI.EndpointRequest;","const site = new WPAPI({ endpoint: 'https://example.com/wp-json' }); site.registerRoute('myplugin/v1', '/resource/(?P<id>\\\\d+)')"]},{"cmd":"yarn add wpapi","imports":[]},{"cmd":"pnpm add wpapi","imports":[]}],"homepage":"https://github.com/wp-api/node-wpapi","github":"https://github.com/wp-api/node-wpapi","docs":null,"changelog":null,"pypi":null,"npm":"wpapi","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}