# gulp-typedoc-extractor [![NPM version][npm-image]][npm-url] [![Build status][travis-image]][travis-url]
> A post processor to extract a module from gulp-typedoc json output.

## Usage

First, install `gulp-typedoc-extractor` as a development dependency:

```shell
npm install --save-dev gulp-typedoc-extractor
```

Then, add it to your `gulpfile.js`:

### Extract Module
```javascript
var extractModule = require('gulp-typedoc-extractor');

gulp.task('extract-module', function(){
  gulp.src(['dest/full-api.json'])
    .pipe(extractModule('aurelia-framework'))
    .pipe(gulp.dest('dest/api.json'));
});
```

## API

gulp-typedoc-extractor is called with a module name.

### extractModule(string)

#### string
Type: `String`

The module to extract from the json generated by gulp-typedoc.


[travis-url]: http://travis-ci.org/lazd/gulp-replace
[travis-image]: https://secure.travis-ci.org/lazd/gulp-replace.svg?branch=master
[npm-url]: https://npmjs.org/package/gulp-replace
[npm-image]: https://badge.fury.io/js/gulp-replace.svg
