slue-vars

0.0.6 • Public • Published

slue-vars

Save vars at slue.vars

example

const slue = require('slue');
const slueStream = require('slue-stream');
const slueVars = require('../index.js');

slue.read('./test/app.js').pipe(slueVars(function() {
    return {
        a: 'a.js',
        b: 'b.js'
    }
})).pipe(slueStream.transformObj(function(file, env, cb) {
    console.log(slue.vars);
}));

Readme

Keywords

Package Sidebar

Install

npm i slue-vars

Weekly Downloads

2

Version

0.0.6

License

ISC

Unpacked Size

2.4 kB

Total Files

5

Last publish

Collaborators

  • songgenlei