@iridium/use-body

v0.0.0
Body parser to now.sh
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

Downloads

Maintainers