node package manager
Easy collaboration. Discover, share, and reuse code in your team. Create a free org »

laessig

laessig

laessig (a german word (lässig) which stands for 'casual') is a small tool belt which provides helpers for your day-to-day work with the css preprocessor LESS.

Installation

In order to install laessig you need a working Node.js environment. Please consider the great documentation in the Node.js Github-Wiki for a brief explanation about the installation steps.

You have to install laessig with root privileges via the NPM package system:

$ sudo npm install laessig -g

Commands

I've talked about a small tool belt, well, currently there is one command, but, a very important one. Maybe there will be more commands in the future. Let me know if you need a functionality in the context of working with LESS :)

Observe

Observes a defined LESS file. If there are local changes, laessig will compile it into the respective css file. Note that the tool observes the whole directory. So if you have some other LESS files which will be imported into the observed one, laessig will also trigger the compile mechanism.

Usage:

$ laessig observe /the/path/to/your/file.less

You can also add a minify flag. If set laessig will compress your css output:

$ laessig observe /the/path/to/your/file.less -m

Important!

Enjoy! :)

License

MIT License

Author

Copyright (c) 2012, André König (Google+) (andre.koenig -[at]- gmail [dot] com)