Skip to content

socketstream/ss-jade

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jade (HTML) wrapper for SocketStream 0.3

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

Instructions

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

ss.client.formatters.add(require('ss-jade'));

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'}});

About

Jade (HTML) code wrapper for SocketStream 0.3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published