baskom
TypeScript icon, indicating that this package has built-in type declarations

1.0.6 • Public • Published

Baskom js

npm version License download-url

Fun nodejs framework with easy to use.

Features

  • Robust routing.
  • Middleware Support.
  • Controller decorator support.
  • Template engine support (ejs, handlebars, pug, jsx and more).

Requerement

Nodejs v8.x or higher

Installation

$ npm i baskom
//or
$ yarn add baskom

Usage

const baskom = require('baskom');

const app = baskom();

app.get('/', (req, res) => {
    res.send('Hello World');
});

app.listen(3000, () => {
    console.log('> Running on ' + 3000);
});
    

METHODS => GET, POST, PUT, DELETE, PATCH, HEAD, OPTIONS, ALL.

app[METHODS](path, ...handlers);

See Documentation

License

MIT

Package Sidebar

Install

npm i baskom

Weekly Downloads

0

Version

1.0.6

License

MIT

Unpacked Size

58.2 kB

Total Files

21

Last publish

Collaborators

  • herudi