@types/gulp-match
TypeScript definitions for gulp-match
Last updated 2 years ago by types .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @types/gulp-match 
SYNC missed versions from official npm registry.

Installation

npm install --save @types/gulp-match

Summary

This package contains type definitions for gulp-match (https://github.com/robrich/gulp-match).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gulp-match.

index.d.ts

import vinyl = require("vinyl");
import minimatch = require("minimatch");

interface StatFilterCondition {
    isDirectory?: boolean | undefined;
    isFile?: boolean | undefined;
}

/**
 * Does a vinyl file match a condition? This function checks the condition on the file.path of the vinyl-fs file passed to it.
 *
 * Condition can be a boolean, a function, a regular expression, a glob string (or array of glob strings), or a stat filter object.
 */
declare function gulpMatch(file: vinyl, condition: gulpMatch.MatchCondition, options?: minimatch.IOptions): boolean;

declare namespace gulpMatch {
    type MatchCondition = boolean | ((fs: vinyl) => boolean) | RegExp | string | string[] | StatFilterCondition;
}

export = gulpMatch;

Additional Details

Credits

These definitions were written by Christophe Coevoet.

Current Tags

  • 1.1.5                                ...           latest (2 years ago)
  • 1.1.2                                ...           ts4.2 (3 years ago)
  • 1.1.2                                ...           ts4.3 (3 years ago)
  • 1.1.2                                ...           ts4.4 (3 years ago)
  • 1.1.5                                ...           ts4.5 (2 years ago)
  • 1.1.5                                ...           ts4.6 (2 years ago)
  • 1.1.5                                ...           ts4.7 (2 years ago)
  • 1.1.5                                ...           ts4.8 (2 years ago)
  • 1.1.5                                ...           ts4.9 (2 years ago)
  • 1.1.5                                ...           ts5.0 (2 years ago)
  • 1.1.5                                ...           ts5.1 (2 years ago)
  • 1.1.5                                ...           ts5.2 (2 years ago)
  • 1.1.5                                ...           ts5.3 (2 years ago)
  • 1.1.5                                ...           ts5.4 (2 years ago)
  • 1.1.5                                ...           ts5.5 (2 years ago)
  • 1.1.5                                ...           ts5.6 (2 years ago)
  • 1.1.5                                ...           ts5.7 (2 years ago)
  • 1.1.5                                ...           ts5.8 (2 years ago)
  • 1.1.5                                ...           ts5.9 (2 years ago)

6 Versions

  • 1.1.5                                ...           2 years ago
  • 1.1.4                                ...           2 years ago
  • 1.1.3                                ...           3 years ago
  • 1.1.2                                ...           3 years ago
  • 1.1.1                                ...           3 years ago
  • 1.1.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 0
Dependencies (2)
Dev Dependencies (0)
None
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |