Provides an injectable wordpress client to provide features to the Wordpress API for nestjs projects
Table Of Contents
@ntegral/nestjs-wpapi implements a module,
WpApiModule, which when imported into
your nestjs project provides a WordPress Api client to any class that injects it. This
lets WordPress be worked into your dependency injection workflow without having to
do any extra work outside of the initial setup.
npm install --save @ntegral/nestjs-wpapi wpapi
The simplest way to use
@ntegral/nestjs-wpapi is to use
You can then inject the JsForce client into any of your injectables by using a custom decorator
Asynchronous setup is also supported
I would greatly appreciate any contributions to make this project better. Please make sure to follow the below guidelines before getting your hands dirty.
- Fork the repository
- Create your branch (
git checkout -b my-branch)
- Commit any changes to your branch
- Push your changes to your remote branch
- Open a pull request
Distributed under the ISC License. See
LICENSE for more information.
Copyright © 2019 Ntegral Inc.