Socket
Socket
Sign inDemoInstall

brjade

Package Overview
Dependencies
77
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    brjade

Turn jade.render and jade.renderFile calls into inlined markup


Version published
Weekly downloads
3
Maintainers
2
Install size
8.36 MB
Created
Weekly downloads
 

Readme

Source

brjade

A Browserify transform to inline the result of calls to jade.renderFile and jade.render.

Heavily inspired by brfs.

In a script that might or might not be browserified:

var jade = require('jade');

jade.renderFile(__dirname + '/index.jade');

When bundling:

var fs = require('fs');
var browerify = require('browerify');
var brjade = require('brjade');

browserify('index.js')
	.transform(brjade)
	.bundle()
	.pipe(fs.createWriteStream('bundle.js'));

Keywords

FAQs

Last updated on 14 Apr 2015

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc