A message flashing module. Inspired by Flask.
$ npm install node-twinkle
var express =flash = ;var app = ;app
// in your view functions:app;// in your templates: (we use ejs as an example, however you can use any template as you like)<body><% if %><%%><% %></body>
Examples are under the 'example' directory.
To test node-twinkle, make sure you have mocha installed, then run the following command:
$ mocha test/flash.test.js