0.2.0 • Published 7 years ago
becquerel v0.2.0
becquerel
Yet another web framework experiment.
Install
$ npm install --save becquerel # Or alternately: `yarn add becquerel`
Usage
const Bq = require('becquerel');
const app = new Bq();
app.route('/', {
get: (request, response) => {
response.json = {hello: 'world'};
}
});
app.route('/hello', {
get: (request, response) => {
response.html = '<p>...world</p>';
}
});
app.run();
License
The MIT License (Expat). See the license file for details.