teeleader-ss-jade

0.2.0 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.0
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.2.0
    2

Package Sidebar

Install

npm i teeleader-ss-jade

Weekly Downloads

2

Version

0.2.0

License

none

Last publish

Collaborators

  • krishnaglick