Zero

zero

Zero configuration web framework.

Zero abstracts the usual project configuration for routing, bundling, and transpiling to make it easier to get started.Inbuild support for Node.js, React, HTML, MDX, and static files and put them all in a folder. Auto configuration, File-system Based Routing and Auto Dependency Resolution are the major features of zero.

Get it: npm install zero

Sample usage:

1
2
3
4
5
6
7
// time.js
const moment = require("moment")

module.exports = (req, res) => {
  var time = moment().format('LT');   // 11:51 AM
  res.send({time: time })
}

zero should serve http://localhost:3000/time

GIF FTW

zero

Suggest a module

Comments