A simple response wrapper, best used in NodeJS.
You can get it on npm.
npm install respper --save
Or if you`re not into package management, just download a ZIP file.
router.get('/', (req, res) => {
Respper.wrapper(res, Model.findAll(req.query));
});
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
This project adheres to Semantic Versioning. Every release, along with the migration instructions, is documented on the Github Releases page.
MIT License © Helder Burato