located in the lib folder is bodyparser.js. This is a middleware for Express that parses incoming data and converts it to plain text. Currently only a JSON parser is available.
To use:
const bodyparser = require ('./lib/bodyparser');
app.use (bodyparser.json);
run the following:
npm install
npm test