New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

template2function

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

template2function

helper script to manage npm packages

latest
Source
npmnpm
Version
0.0.20160405
Version published
Maintainers
1
Created
Source

template2function

precompile templates into functions, built for high performance

install

# global
$ npm install template2function -g
# local
$ npm install template2function --save-dev

usage

$ template2function --engine(-e) [zero/underscore/ejs/dot/micro/anima] $path/to/source/file

supported template engines

  • zero-text/template (shortcut: zero) the default template engine
  • zero/template(old) (shortcut: zero-old)
  • Underscore templates (shortcut: underscore)
  • EJS (shortcut: ejs)
  • doT.js (shortcut: dot)
  • Microtemplating (shortcut: micro)
  • animajs/template (shortcut: anima)

Keywords

template precompile

FAQs

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