/minima

A sketch of a library similar to Express. Built for learning purposes

Primary LanguageJavaScriptMIT LicenseMIT

minima

A rough sketch of a library similar to Express with minimal dependencies that supports existing Express middleware. Built for learning purposes, primarily to explore Express and its internals.

const app = new Minima();

app.get('/hello/:id', (req, res) => res.end(`Hello ${req.params.id}`));
  
app.listen(3000);

Installation

$ npm install

Test

# unit tests
$ npm run test