包详细信息

gulp-typedoc-extractor

cmichaelgraham68MIT0.0.8

A post processor to extract a module from gulp-typedoc json output.

gulpplugin, typedoc, extract

自述文件

gulp-typedoc-extractor NPM version Build status

A post processor to extract a module from gulp-typedoc json output.

Usage

First, install gulp-typedoc-extractor as a development dependency:

npm install --save-dev gulp-typedoc-extractor

Then, add it to your gulpfile.js:

Extract Module

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.