duo-less

    0.0.2 • Public • Published

    duo-less

    A LESS plugin for Duo

    Install

    $ npm install --save duo-less

    Usage

    CLI

    $ duo --use duo-less

    API

    var Duo = require('duo');
    var less = require('duo-less');
     
    var duo = Duo(__dirname)
        .entry('index.less')
        .use(less());
     
    duo.run(function (err, file) {
        if (err) throw err;
     
        // file => generated CSS source code
    });

    Options

    If you can figure out the LESS docs about config options, any of those should work. The filepath option is the only one set via this plugin. (and you likely should not override that one)

    Install

    npm i duo-less

    DownloadsWeekly Downloads

    0

    Version

    0.0.2

    License

    none

    Last publish

    Collaborators

    • dominicbarnes