Latest Threat ResearchGlassWorm Loader Hits Open VSX via Developer Account Compromise.Details
Socket
Book a DemoInstallSign in
Socket

jstransformer-function

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jstransformer-function

Function support for JSTransformers.

Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

jstransformer-function

Function support for JSTransformers.

Build Status Coverage Status Dependency Status NPM version

Installation

npm install jstransformer-function

API

var func = require('jstransformer')(require('jstransformer-function'));

var input = 'return "Hello, " + this.name + "!"';
var locals = { name: 'World' };
func.render(input, locals).body;
//=> 'Hello, World'

License

MIT

Keywords

jstransformer

FAQs

Package last updated on 05 Oct 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