Name Picker Malfunction

    jade-bro

    0.0.2 • Public • Published

    jade-bro

    Compile jade views plus runtime in a single module string

    Usage

    (using frequire)

    Server:
    var jadebro = require('jade-bro')
    f.require('jade-bro', jadebro(__dirname + '/views'))
    Browser:
    var render = require('jade-bro')
    var html = render('some-view', { some: 'local' })
    render.locals.foo = 'another'
    el.innerHTML = html

    API

    Server:

    moduleString = jadebro(app OR viewsPath)

    Browser:

    html = jadebro('viewName', { options })

    Licence

    MIT/X11

    Keywords

    none

    Install

    npm i jade-bro

    DownloadsWeekly Downloads

    1

    Version

    0.0.2

    License

    none

    Last publish

    Collaborators

    • stagas