<commit_before>gulp-jessy
==========

Convert Jessy files to Sass and/or Js as part as your gulp build process.

### To Sass file

This task will create a `styles.scss` file in `tmp/`.

```
var gulp = require('gulp'),
    jessy = require('gulp-jessy');

gulp.task('jessy-to-js', function() {
    return gulp.src('src/styles.jessy')
        .pipe(jessy({
            target      : 'scss'
        }))
        .pipe(gulp.dest('tmp/'));
});
```

### To Js file

This task will create a `styles.js` file in `tmp/`.

```
var gulp = require('gulp'),
    jessy = require('gulp-jessy');

gulp.task('jessy-to-js', function() {
    return gulp.src('src/styles.jessy')
        .pipe(jessy({
            target      : 'js'
        }))
        .pipe(gulp.dest('tmp/'));
});
```<commit_msg>Better readme<commit_after>gulp-jessy
==========

Convert Jessy files to Sass and/or Js as part as your gulp build process.

View [Jessy](https://github.com/Ulflander/jessy) to know what is Jessy and how to use it.

Released under MIT License.

## Examples

#### To Sass file

This task will create a `styles.scss` file in `tmp/`.

```
var gulp = require('gulp'),
    jessy = require('gulp-jessy');

gulp.task('jessy-to-js', function() {
    return gulp.src('src/styles.jessy')
        .pipe(jessy({
            target      : 'scss'
        }))
        .pipe(gulp.dest('tmp/'));
});
```

#### To Js file

This task will create a `styles.js` file in `tmp/`.

```
var gulp = require('gulp'),
    jessy = require('gulp-jessy');

gulp.task('jessy-to-js', function() {
    return gulp.src('src/styles.jessy')
        .pipe(jessy({
            target      : 'js'
        }))
        .pipe(gulp.dest('tmp/'));
});
```

## Options

- `symbol`: default `'$'` - Specifies prefix of Sass variables
- `target`: `'scss'` or `'js'`, default `'js'` - Specifies compilation target when using `fromFile` and `fromString` functions
- `namespace`: default `null`
{'fraction_non_alphanumeric': 0.1897810218978102, 'fraction_numerical': 0.0, 'mean_word_length': 2.748046875, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '272655', 'n_tokens_mistral': 718, 'n_tokens_neox': 697, 'n_words': 174}