0.1.3 • Published 10 years ago

express.jsx v0.1.3

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

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

  • shibukawa / yoshiki@shibu.jp

License

MIT

Complete license is written in LICENSE.md.

0.1.3

10 years ago

0.1.2

11 years ago

0.1.1

11 years ago

0.1.0

11 years ago