This package has been deprecated

Author message:

Please use '@becquerel/framework' instead.

becquerel

0.2.0 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i becquerel

Weekly Downloads

0

Version

0.2.0

License

MIT

Last publish

Collaborators

  • radioactivehamster