Wondering what’s next for npm?Check out our public roadmap! »

    slue-vars

    0.0.5 • 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);
    }));

    Keywords

    Install

    npm i slue-vars

    DownloadsWeekly Downloads

    2

    Version

    0.0.5

    License

    ISC

    Unpacked Size

    2.36 kB

    Total Files

    5

    Last publish

    Collaborators

    • avatar