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);

Readme

Keywords

Package Sidebar

Install

npm i gerkon

Weekly Downloads

0

Version

2.1.0

License

WTFPL

Last publish

Collaborators

  • frux