<commit_before>less.js
=======

about
-----

less.js is the next evolution of [LESS](http://lesscss.org), eventually, it will become LESS 2.0.
less.js is a complete rewrite of LESS in JavaScript, and will be able to run directly in the browser,
as well as on the server, with node.js.

synopsis
--------

### in node.js

    var less = require('less');

    less.render(".class { width: 10px * 2 }", function (e, css) {
        sys.puts(css); // .class { width: 20px }
    });

### via the command-line (requires node)

    bin/lessc style.less

### in the browser

First, run `make less` in the command line. It will the build the *less.js* file in *dist/*.
Then, you can use it as such:

    <link rel="stylesheet/less" href="main.less" type="text/css">
    <script src="less.js"></script>

To build a minified version, run `make min`<commit_msg>(doc) install instructions<commit_after>less.js
=======

about
-----

less.js is the next evolution of [LESS](http://lesscss.org), eventually, it will become LESS 2.0.
less.js is a complete rewrite of LESS in JavaScript, and will be able to run directly in the browser,
as well as on the server, with node.js.

synopsis
--------

### in node.js

    var less = require('less');

    less.render(".class { width: 10px * 2 }", function (e, css) {
        sys.puts(css); // .class { width: 20px }
    });

### via the command-line (requires node)

    bin/lessc style.less

### in the browser

First, run `make less` in the command line. It will the build the *less.js* file in *dist/*.
Then, you can use it as such:

    <link rel="stylesheet/less" href="main.less" type="text/css">
    <script src="less.js"></script>

To build a minified version, run `make min`

installation
------------

In node:

    $ npm install less
{'fraction_non_alphanumeric': 0.15593220338983052, 'fraction_numerical': 0.007909604519774011, 'mean_word_length': 2.9887387387387387, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1709745', 'n_tokens_mistral': 587, 'n_tokens_neox': 558, 'n_words': 221}