Socket
Book a DemoInstallSign in
Socket

jstransformer-absurd

Package Overview
Dependencies
Maintainers
6
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jstransformer-absurd

AbsurdJS support for JSTransformers.

latest
Source
npmnpm
Version
0.2.1
Version published
Maintainers
6
Created
Source

jstransformer-absurd

Absurd support for JSTransformers.

Build Status Coverage Status Dependency Status NPM version

Installation

npm install jstransformer-absurd

API

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

var input = "h1: Hello <% name %>!";
var options = {
  "morph": "html",
  "type": "yaml"
};
var locals = {
  "name": "World"
};

absurd.render(input, options, locals).body
//=> '<h1>Hello World!</h1>'

License

MIT

Keywords

jstransformer

FAQs

Package last updated on 26 Dec 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