Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

brjade

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

brjade

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

  • 0.0.4
  • latest
  • npm
  • Socket score

Version published
Maintainers
2
Created
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

Package last updated on 14 Apr 2015

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc