express.js implementation of js-items
There is a fantastic alternative to this project (and @js-items/express is based on it): js-entity-repos/express.
The main differences to the @js-entity-repos/express:
- different naming convention: using
- cursor based pagination operates using
totalCountproperty on pagination object
GET /endpoint?envelope=true) for clients not capable of working with headers and JSONP
granular transactions handlersfor each
request handler- this could be used for i.e.
- possibility to
- ability to disable json body parser middleware if already present in the stack (
- by default all responses are
prettywhich improves readability, you can disable that by query param (
npm i @js-items/express --save