node-wpapi
node-wpapi copied to clipboard
Alternate smaller package: wp-headless/fetch
wpapi is an awesome package, we have used it for months and we love it. Cudos to the creators and all those who contribute.
wpapi has extensive goals and capabilities, although that comes at a cost: size. Along with outstanding browser issues and not having an ES6 tree shakable build we have decided to build our own package. We do this with allot of consideration as we do not want to fragment the ecosystem too much.
Introducing https://github.com/wp-headless/fetch
- Isomorphic
- 90% + coverage
- abstrcted transport layers (fetch, axios, superagent)
- 2.5Kb bundle size
- Automated browser tests down to IE11 - have peace of mind it will always work.
- Simpl, elegant syntax.
- ES6 and CJS builds that are tree shakable by webpack
For those who need a feature rich client with auto discovery; continue to use wpapi.
We are in v0.1.0 beta but feel free to use in production and report back.
Getting closer to a 1.0.0-beta.1