Skip to content

bhavin-prajapati/fastpress

Repository files navigation

fastpress

A blazing fast and simple HTTP library for NodeJS

Features

  • Only supports GET and POST Requests
  • Webpack 3 based.
  • ES6 as a source.
  • Exports in a umd format so your library works everywhere.
  • ES6 test setup with Mocha and Chai.
  • Linting with ESLint.

Misc

An example of using fastpress

const fastpress = require('fastpress');
const app = new fastpress();

app.get('/cat', (req, res) => {
  res.send('meow!')
});

app.post('/dog', (req, res) => {
  console.log(req.body);
  res.send('bark!')
});

app.listen(8080, () => {
  console.log('Server listening on ' + HOST + ':' + _port);  
});

Readings

About

A blazing fast and simple HTTP library for NodeJS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published