1.4.2 • Published 5 years ago

dripple v1.4.2

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
5 years ago

Dripple.js

Dripple is a very small Node.js framework for creating HTTP server. It provides express-like commands of "get" and "post". Currently the project is at the beginning of its existence, which means its hardly useable. Because of Dripple's simplicity it is quite fast.

Currently working

  • Processing GET request with regexp in path (handling of data is still given to the user)
  • Handling 404

At this beta

  • Support for extensions (only extensions that work for all paths)

Plans for future

  • Support for path-based extensions
  • Upgrade in processing speed

Examples

var dripple = require('dripple'),
    app = new dripple(),
    someExtension = require('./path/to/extension');

app.extend(someExtension);

app.get('/', function(req, res){
    res.writeHead(200);
    res.write("Hello World!");
    res.end();
})

app.get('/users/:username', function(req, res){
    res.writeHead(200);
    res.write("Hello, " + req.params.username + "!"); //username given in path
    res.end();
})

app.listen(3000);

License

MIT

4.0.1-0

5 years ago

4.0.0-0

5 years ago

3.0.2

5 years ago

3.0.1

5 years ago

3.0.0

5 years ago

2.1.0

5 years ago

2.0.1-2

5 years ago

2.0.1-1

5 years ago

2.0.1-0

5 years ago

2.0.0

5 years ago

1.5.2-0

6 years ago

1.5.1

6 years ago

1.5.0

6 years ago

1.4.2

6 years ago

1.4.1

6 years ago

1.4.0

6 years ago

1.3.7

6 years ago

1.3.6

6 years ago

1.3.5

6 years ago

1.3.4

6 years ago

1.3.3

6 years ago

1.3.2

6 years ago

1.3.1

6 years ago

1.3.0

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago

1.0.1

6 years ago