<commit_before># [![Natron][natron-img]][natron-url]

[natron-img]: http://static.natronjs.com/img/natronjs.svg
[natron-url]: http://natronjs.com/

**Gulp with Natron**

[![Version][npm-img]][npm-url]
[![Downloads][dlm-img]][npm-url]
[![Readme][readme-img]][readme-url]

[![Gitter Chat][gitter-img]][gitter-url]

[npm-img]: https://img.shields.io/npm/v/gulp-natron.svg
[npm-url]: https://npmjs.org/package/gulp-natron
[dlm-img]: https://img.shields.io/npm/dm/gulp-natron.svg
[readme-img]: https://img.shields.io/badge/read-me-orange.svg
[readme-url]: https://natron.readme.io/

[gitter-img]: https://badges.gitter.im/Join%20Chat.svg
[gitter-url]: https://gitter.im/natronjs/natron

This module is part of [Natron][natron-url].

## Usage

```js
var gulp = require("gulp");
var natron = require("gulp-natron");

function greet(name, time) {
  console.log("Hello " + name + ".");
  if (!time) {
    return "Goodbye.";
  }
  var d = natron.defer();
  setTimeout(function () {
    d.resolve("Thanks for waiting. Goodbye.");
  }, time);
  return d.promise;
}

function message(msg) {
  console.log(msg);
}

var greetTask = [greet, message];
greetTask.meta = {
  options: {pipe: true}
};
<commit_msg>Add documentation to readme<commit_after># [![Natron][natron-img]][natron-url]

[natron-img]: http://static.natronjs.com/img/natronjs.svg
[natron-url]: http://natronjs.com/

**Gulp with Natron**

[![Version][npm-img]][npm-url]
[![Downloads][dlm-img]][npm-url]
[![Readme][readme-img]][readme-url]

[![Gitter Chat][gitter-img]][gitter-url]

[npm-img]: https://img.shields.io/npm/v/gulp-natron.svg
[npm-url]: https://npmjs.org/package/gulp-natron
[dlm-img]: https://img.shields.io/npm/dm/gulp-natron.svg
[readme-img]: https://img.shields.io/badge/read-me-orange.svg
[readme-url]: https://natron.readme.io/docs/module-gulp-natron

[gitter-img]: https://badges.gitter.im/Join%20Chat.svg
[gitter-url]: https://gitter.im/natronjs/natron

This module is part of [Natron][natron-url].

## Documentation

See the [documentation for gulp-natron][readme-url].

## Usage

```js
var gulp = require("gulp");
var natron = require("gulp-natron");

function greet(name, time) {
  console.log("Hello " + name + ".");
  if (!time) {
    return "Goodbye.";
  }
  var d = natron.defer();
  setTimeout(function () {
    d.resolve("Thanks for waiting. Goodbye.");
  }, time);
  return d.promise;
}

function message(msg) {
  console.log(msg);
}

var greetTask = [greet, message];
greetTask.meta = {
  options: {pipe: true}
};

{'fraction_non_alphanumeric': 0.2156312625250501, 'fraction_numerical': 0.0016032064128256513, 'mean_word_length': 4.344753747323341, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 14, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1387233', 'n_tokens_mistral': 1044, 'n_tokens_neox': 1004, 'n_words': 155}