jstransformer-function

    1.0.1 • Public • Published

    jstransformer-function

    Function support for JSTransformers.

    Build Status Coverage Status Dependency Status Greenkeeper badge 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

    Install

    npm i jstransformer-function

    DownloadsWeekly Downloads

    0

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    4.28 kB

    Total Files

    5

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar