Socket
Socket
Sign inDemoInstall

mimosa-jade-static

Package Overview
Dependencies
37
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    mimosa-jade-static

A Jade static client template compiler for Mimosa 2.0+


Version published
Weekly downloads
1
Maintainers
1
Created
Weekly downloads
 

Readme

Source

mimosa-jade-static

Overview

This is a Jade to HTML compiler for the Mimosa build tool. This module is for use with Mimosa 2.0+.

For more information regarding Mimosa, see http://mimosa.io

Usage

Add 'jade-static' to your list of modules. That's all! Mimosa will install the module for you when you start mimosa watch or mimosa build.

Functionality

This module will compile Jade files to HTML during mimosa watch and mimosa build.

This module utilizes all of the built-in template behavior that comes with Mimosa's basic template compiler. See the mimosa website for more information about how templates are treated or check out the various template configuration options.

Default Config

jade:
  lib: undefined
  extensions: [ "jade" ]
  context: null
  • lib: You may want to use this module but may not be ready to use the latest version of Jade. Using the lib property you can provide a specific version of Jade if the one being used by this module isn't to your liking. To provide a specific version, you must have it npm installed into your project and then provide it to lib. For instance: lib: require('jade').
  • extensions: an array of strings, the extensions of your Jade files.
  • context: an object passed to the compiled template function when generating HTML. If context is a function itself, it's being executed and the result is used as a context for the template.

Keywords

FAQs

Last updated on 29 Mar 2014

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