Lightweight web framework for node.js
var Crixalis = ;Crixalis/* Load plugins *//* Add route with placeholder *//* Add another route for GET and HEAD methods *//* Catch everything else *//* Start server on port 8080 */start'http' 8080;
Available core plugins
accessAccess log (with configurable CLF support)
compressionCompress response using
deflatecompression (also works with
requestThin wrapper around
shortcutsRoute declaration helpers,
staticServe static files
Crixalis comes with script for serving static files
# Start web server on port `8080` and serve files from current foldercrixalis# Start web server on port `3000` and serve files from `~/www/`crixalis --port 3000 --path ~/www/
Copyright 2012-2016 Alexander Nazarov. All rights reserved.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.