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

anyengine

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

anyengine

A meta-programming approach to universal templating

latest
npmnpm
Version
0.0.1
Version published
Maintainers
1
Created
Source

anyengine

A meta-programming approach to universal templating

API

Engine.configure([options])

Specify default options

Engine.compile(template, [options])

Compiles template string

Engine.compileFile(filename, [options], [callback])

Compiles template file

Engine.render(template, [locals], [options])

Renders template string

Engine.renderFile(filename, [locals], [options], [callback])

Renders template file

Options

NameTypeDescription
basedirstringSpecify basedir. Used to resolve partials and data. Defaults to current working dir.
datastringSpecify directory where to resolve json data.
filenamestringSpecify filename when rendering strings. Used to resolve partials and data.
runtimestring|function|object Specify engine runtime, i.e. 'handlebars'. If not specified, it is resolved by filename.
usearraySpecify middleware, i.e. [ 'frontmatter' ].

FAQs

Package last updated on 08 Dec 2018

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