Socket
Book a DemoInstallSign in
Socket

jstransformer-qejs

Package Overview
Dependencies
Maintainers
5
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jstransformer-qejs

QEJS support for JSTransformers.

latest
Source
npmnpm
Version
0.2.0
Version published
Maintainers
5
Created
Source

jstransformer-qejs

QEJS support for JSTransformers.

Build Status Coverage Status Dependency Status NPM version

Installation

npm install jstransformer-qejs

API

var qejs = require('jstransformer')(require('jstransformer-qejs'))

var template = 'Hello, <%- name %>!';
var locals = {
  name: 'World'
};

qejs.renderAsync(template, locals, function(err, data) {
  data.body;
  //=> 'Hello World!'
});

License

MIT

Keywords

jstransformer

FAQs

Package last updated on 26 Jun 2016

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