1.0.2 • Published 5 years ago
generate-response v1.0.2
It is used for creating response Object.
The package contains only the functionality necessary to define returnOjects.
Example Usage
import generateResponse from "generate-response";
const returnObj = generateResponse({ code: 200, success: true, message: "this is just an example", data: { name: "Natalie Portman" } })
1.0.2
5 years ago