Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/helderberto/respper
📡 Node.JS: Response wrapper.
https://github.com/helderberto/respper
express expressjs http nodejs promise response respper wrapper-api wrapper-library
Last synced: about 1 month ago
JSON representation
📡 Node.JS: Response wrapper.
- Host: GitHub
- URL: https://github.com/helderberto/respper
- Owner: helderberto
- License: mit
- Created: 2018-04-29T20:59:15.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-06-02T21:14:22.000Z (over 6 years ago)
- Last Synced: 2024-01-21T14:47:26.894Z (10 months ago)
- Topics: express, expressjs, http, nodejs, promise, response, respper, wrapper-api, wrapper-library
- Language: JavaScript
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# 📡 Respper
A simple response wrapper, best used in NodeJS.
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
## Requirements
* [NodeJS](https://nodejs.org/en/).
## Installation
You can get it on npm.
```
npm install respper --save
```
Or if you`re not into package management, just [download a ZIP](https://github.com/helderburato/respper/archive/master.zip) file.## Usage
```
router.get('/', (req, res) => {
Respper.wrapper(res, Model.findAll(req.query));
});
```## Contributing
Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.
## Changelog
This project adheres to [Semantic Versioning](https://semver.org/).
Every release, along with the migration instructions, is documented on the Github [Releases](https://github.com/helderburato/respper/releases) page.## Author
[Helder Burato](https://twitter.com/helderburato)
## License
[MIT License](LICENSE) © Helder Burato