gerkon

2.1.0 • Public • Published
Logo

Build Status Coverage Status Node version

const Gerkon = require('gerkon');
const app = new Gerkon();
 
app.route('/', (req, res) => {
        res.send('Index page');
    })
    .route('/hello{world}', (req, res) => {
        res.send('Hello world!');
    })
    .route('*', (req, res) => {
        res.sendCode(404, 'not found');
    })
    .listen(8080);

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.1.0
    0
    • latest

Version History

Package Sidebar

Install

npm i gerkon

Weekly Downloads

1

Version

2.1.0

License

WTFPL

Last publish

Collaborators

  • frux