<commit_before># gulp-nar [![Build Status](https://travis-ci.org/h2non/gulp-nar.svg?branch=master)][travis] [![Dependency Status](https://gemnasium.com/h2non/gulp-nar.png)][gemnasium] [![NPM version](https://badge.fury.io/js/gulp-nar.png)][npm]

> Create and extract [nar](https://github.com/h2non/nar) archives from [Gulp](http://gulpjs.com)

## Install

```bash
$ npm install --save-dev gulp-nar
```

## Usage

```js
var gulp = require('gulp')
var nar = require('gulp-nar')

gulp.task('create', function () {
  gulp.src('package.json')
    .pipe(nar('releases/'))
})

gulp.task('extract', function () {
  gulp.src('app.nar')
    .pipe(nar.extract('app/'))
})
```

See [gulpfile.js][example] for more examples

## API

### nar(path, options)
- **path** `string` Destination directory for the nar archive. Default to current directory
- **options** `object` Archive creation [options](https://github.com/h2non/nar#narcreateoptions)

### nar.extract(path, options)
- **path** `string` Destination directory for the extracted files. Default to current directory
- **options** `object` Archive extract [options](https://github.com/h2non/nar#narextractoptions)

## License

[MIT](http://opensource.org/licenses/MIT) © <NAME>

[travis]: https://travis-ci.org/h2non/gulp-nar
[gemnasium]: https://gemnasium.com/h2non/gulp-nar
[npm]: http://npmjs.org/package/gulp-nar
[example]: https://github.com/h2non/gulp-nar/blob/master/gulpfile.js
<commit_msg>chore(docs): update docs<commit_after># gulp-nar [![Build Status](https://travis-ci.org/h2non/gulp-nar.svg?branch=master)][travis] [![Dependency Status](https://gemnasium.com/h2non/gulp-nar.png)][gemnasium] [![NPM version](https://badge.fury.io/js/gulp-nar.png)][npm]

> Create and extract [nar](https://github.com/h2non/nar) archives from [Gulp](http://gulpjs.com)

## Installation

```bash
$ npm install --save-dev gulp-nar
```

## Usage

```js
var gulp = require('gulp')
var nar = require('gulp-nar')

gulp.task('create', function () {
  gulp.src('package.json')
    .pipe(nar('releases/'))
})

gulp.task('extract', function () {
  gulp.src('app.nar')
    .pipe(nar.extract('app/'))
})
```

See [gulpfile.js][example] for more examples

## API

### nar(path, options)
- **path** `string` Destination directory for the nar archive. Default to current directory
- **options** `object` Archive creation [options](https://github.com/h2non/nar#narcreateoptions)

### nar.extract(path, options)
- **path** `string` Destination directory for the extracted files. Default to current directory
- **options** `object` Archive extract [options](https://github.com/h2non/nar#narextractoptions)

## License

[MIT](http://opensource.org/licenses/MIT) © <NAME>

[travis]: https://travis-ci.org/h2non/gulp-nar
[gemnasium]: https://gemnasium.com/h2non/gulp-nar
[npm]: http://npmjs.org/package/gulp-nar
[example]: https://github.com/h2non/gulp-nar/blob/master/gulpfile.js

{'fraction_non_alphanumeric': 0.2025534851621808, 'fraction_numerical': 0.005521048999309869, 'mean_word_length': 4.977319587628866, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 18, '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': '2571912', 'n_tokens_mistral': 1073, 'n_tokens_neox': 1055, 'n_words': 188}