Jade wrapper for SocketStream 0.3

npm install ss-jade
8 downloads in the last day
28 downloads in the last week
124 downloads in the last month

Jade (HTML) wrapper for SocketStream 0.3

Allows you to use Jade files (.jade) in your SocketStream project.


Add ss-jade to your application's package.json file and then add this line to app.js:


Passing local variables

Some 3rd-party authentication libraries will want to inject HTML into your views. You may easily pass through local variables as so:

ss.client.formatters.add(require('ss-jade'), {locals: {myvar: 'myvalue'}});
npm loves you