ibird

1.0.0-alpha.23 • Public • Published

English | 简体中文

ibird

NPM version Build Status NPM downloads Dependencies

A lightweight and flexible web development framework.

Getting Started

Prerequisites

Install ibird from npm

With yarn:

yarn add ibird

or alternatively using npm:

npm install --save ibird

Writing Code

We can put this code in a file named index.js

const app = require('ibird').newApp();
 
// response
app.get('/', ctx => {
  ctx.body = `Hello ibird.`;
});
 
app.play();

If you run this with:

$ node index.js

You should see the ibird response printed out:

$ Listen and serve on 0.0.0.0:3000

Congratulations - You've just created an application using ibird!

Next Steps

We prepared a wiki page. You can find tons of useful things there.

Contributing

We actively welcome pull requests.

Changelog

Changes are tracked as GitHub releases.

License

ibird is Apache-2.0-licensed.

Dependencies (10)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i ibird

    Weekly Downloads

    5

    Version

    1.0.0-alpha.23

    License

    Apache-2.0

    Unpacked Size

    26.6 kB

    Total Files

    6

    Last publish

    Collaborators

    • yinfxs