express.jsx

0.1.3 • Public • Published

express.jsx

Synopsis

JSX wrapper for express web application server.

Code Example

import "express.jsx";
 
class _Main {
    static function main(argv : string[]) : void
    {
        var app = express.create();
        app.get('/', function (req : Request, res : Response) : void {
            res.send('hello world');
        });
 
        app.listen(3000);
    }
}

Installation

$ npm install express --save
$ npm install express.jsx --save

Add express.jsx's lib folder to search path.

API Reference

Almost all APIs are same as origin API (http://expressjs.com/api.html).

Only express() has different API:

  • express.create()

    Creates Application object.

Development

Repository

Run Test

$ grunt test

Build

# Generate API reference 
$ grunt doc
 
# Build application or library for JS project 
$ grunt build

Author

License

MIT

Complete license is written in LICENSE.md.

Readme

Keywords

Package Sidebar

Install

npm i express.jsx

Weekly Downloads

3

Version

0.1.3

License

MIT

Last publish

Collaborators

  • shibu