Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    addepar-connect-lesspublic

    connect-less

    A simple less middleware for Node's Connect, able to compile your .less files on the fly as needed. Just plug connect-less to your Connect/Express application to let it manage your .less -> .css conversions automatically.

    How do I do it?

    Use NPM to install connect-less

    npm install connect-less
    

    Then load it in your app, specifying the source (and optionally destination) directory

    app.use(require('connect-less')({ src: __dirname + '/public/' }));
    

    Just that?

    Yes, connect-less will take care of everything.

    If you want, you can read the docco-commented source code with the full description of the available options here.

    Keywords

    none

    install

    npm i addepar-connect-less

    Downloadsweekly downloads

    6

    version

    0.3.2

    license

    none

    last publish

    collaborators

    • avatar