Socket
Socket
Sign inDemoInstall

gobem-proc-justjst

Package Overview
Dependencies
22
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    gobem-proc-justjst

Processor to make javascript templates for gobem builder.


Version published
Maintainers
1
Install size
73.8 kB
Created

Readme

Source

gobem-proc-justjst

This processor for gobem makes javascript templates and passes them to callback function. Function is a required argument.

Example for build.js

module.exports = function () {
    return [
        ['select', 0, /^components\/(\w+)\/\1\.jst$/],
        ['gobem-proc-justjst', function (templateName, template) {
            storage[templateName] = template;
        }]
    ]; // this array will be used as build instructions
};

Keywords

FAQs

Last updated on 18 Oct 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