Skip to content
/ mandle Public

Node.js HTTP router with out-of-the-box document-serving and session-keeping capabilities. Can use certain modules optionally for expanded capability, ensuring that your server is as fat or lean as you want.

License

Notifications You must be signed in to change notification settings

MTrop/mandle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mandle

Node.js HTTP router with out-of-the-box document-serving and session-keeping capabilities. Can use certain modules optionally for expanded capability, ensuring that your server is as fat or lean as you want.

Mandle is currently in an UNSTABLE state and will undergo some changes before its API is finalized.

Features

Mandle has plenty of appealing features.

  • Routes requests by static path or Regex or Wildcard pattern.
  • Has built-in session management.
  • Has built-in cookie reading.
  • Has built-in parameter parsing, on GET or POST requests.
  • Has built-in file upload handling, if Formidable is installed (optionally).
  • Is essentially an onRequest handler, so it can be wired to HTTP or HTTPS.

How to Install

If you have npm, installing Mandle couldn't be easier.

npm install git+https://github.com/MTrop/mandle.git

(Once I have a release and publish it to NPM, that'll be a heck of a lot shorter, I promise)

You can also install it manually via Git, if you so wished:

git clone https://github.com/MTrop/mandle.git mandle

But then, the "require" line in your program would be:

var mandle = require('./mandle');

About

Node.js HTTP router with out-of-the-box document-serving and session-keeping capabilities. Can use certain modules optionally for expanded capability, ensuring that your server is as fat or lean as you want.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published