@iridium/use-body
v0.0.0 now.sh
Use-body
Usage:
const useBody = require('@iridium/use-body');
// function serverless
module.exports = useBody(async (req, res) => {
const body = req.body; // <- Thanks to use-body;
res.end();
})
License
MIT © David Bernal
npm i @iridium/use-body
Metadata
- MIT
- Whatever
- David Bernal
- released 12/22/2018