cel

celer

A dead simple Rest framework

Showing:

Popularity

Downloads/wk

1

Maintenance

No Maintenance Data Available

Package

Dependencies

1

Size (min+gzip)

0.6KB

License

ISC

Type Definitions

Tree-Shakeable

No?

Categories

Readme

Celer

A very simple REST implementation based on pure string matching and events.


Here is an example of the the usage :-


const http = require('http');
const Celer = require('./index')
const celer = new Celer()

const PORT=8080

celer.get('/get', function (req, res) {
  res.end('Hello World')
})

celer.post('/post', function (req, res) {
  res.send('Hello World')
})

celer.put('/post', function (req, res) {
  res.send('Hello World')
})


var server = http.createServer(celer.dispatcher)

server.listen(PORT, function(){
    console.log("Server listening on: http://localhost:%s", PORT)
})


LICENSE

MIT

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100