# @types/gulp-modernizr

> TypeScript definitions for gulp-modernizr

Latest version **1.0.6** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/gulp-modernizr
pnpm add @types/gulp-modernizr
yarn add @types/gulp-modernizr
bun add @types/gulp-modernizr
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.0.6 |
| Published | 2023-11-07 |
| First published | 2017-08-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 6.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51441 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/gulp-modernizr
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gulp-modernizr
- npm.io page: https://npm.io/package/@types/gulp-modernizr

## Dependencies (1)

- [@types/node](https://npm.io/package/@types/node.md) *

## Recent versions

- 1.0.6 (latest) — 2023-11-07
- 1.0.3 (ts4.3) — 2023-05-10
- 1.0.2 (ts3.6) — 2021-07-08
- 1.0.1 (ts2.0) — 2019-02-13
- 1.0.5 — 2023-10-18
- 1.0.4 — 2023-09-20
- 1.0.0 — 2017-08-03

## README

# Installation
> `npm install --save @types/gulp-modernizr`

# Summary
This package contains type definitions for gulp-modernizr (https://github.com/rejas/gulp-modernizr).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gulp-modernizr.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gulp-modernizr/index.d.ts)
````ts
/// <reference types="node" />

import stream = require("stream");

declare function GulpModernizr(parames?: GulpModernizr.Params): stream.Transform;
declare function GulpModernizr(file?: string, parames?: GulpModernizr.Params): stream.Transform;

declare namespace GulpModernizr {
    interface Params {
        /**
         * Avoid unnecessary builds (see Caching section below)
         */
        cache?: boolean | undefined;

        /**
         * Path to the build you're using for development.
         */
        devFile?: string | false | undefined;

        /**
         * Path to save out the built file
         */
        dest?: string | false | undefined;

        /**
         * Based on default settings on http://modernizr.com/download/
         */
        options?: {
            classPrefix: string;
            enableJSClass: boolean;
            enableClasses: boolean;
        } | undefined;

        /**
         * By default, source is uglified before saving
         */
        uglify?: boolean | undefined;

        /**
         * Define any tests you want to explicitly include
         */
        tests?: string[] | undefined;

        /**
         * Useful for excluding any tests that this tool will match
         * e.g. you use .notification class for notification elements,
         * but don’t want the test for Notification API
         */
        excludeTests?: string[] | undefined;

        /**
         * By default, will crawl your project for references to Modernizr tests
         * Set to false to disable
         */
        crawl?: boolean | undefined;

        /**
         * Set to true to pass in buffers via the "files" parameter below
         */
        useBuffers?: boolean | undefined;

        /**
         * By default, this task will crawl all *.js, *.css, *.scss files.
         */
        files?: { src: string[] } | undefined;

        /**
         * Have custom Modernizr tests? Add them here.
         */
        customTests?: string[] | undefined;
    }
}

export = GulpModernizr;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 03:09:37 GMT
 * Dependencies: [@types/node](https://npmjs.com/package/@types/node)

# Credits
These definitions were written by [remisery](https://github.com/remisery).

---
_Source: https://npm.io/package/@types/gulp-modernizr · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
