4.0.0 • Published 5 years ago

@naveen16/customresponses v4.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

Custom-Responses

Instructions to use:

npm install @naveen16/customresponses

const customResponses = require('@naveen16/customresponses');

app.use(customResponses);

Once you have done the above in your app entry point, the express response object will contain the custom responses, and you can use them as follows:

res.unprocessableEntity(err);