0.2.0 • Published 7 years ago

becquerel v0.2.0

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

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.

0.2.0

7 years ago

0.1.0

7 years ago