npm.io
1.1.6 • Published 8 years ago

postmask

Licence
MIT
Version
1.1.6
Deps
2
Vulns
0
Weekly
0

PostMask


Build Status NPM version

Runs mask optimizers

API

var postmask = require('postmask');

postmask
    .processSource(template, path, options)
    .then(optimizedTemplate => {}, error => {});

OptionsExample = {
    plugins: [ "postmask-babel" ],
    minify: false,
    configs: {
        'postmask-babel': {
            presets: ['es2015', 'stage-1']
        }
    }
};

(c) MIT License - Atma.js Project