# @types/gulp-dart-sass

> TypeScript definitions for gulp-dart-sass

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

## Install

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

## 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.5 |
| Published | 2023-11-07 |
| First published | 2021-01-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 4.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51445 |
| Maintainers | types |

## Links

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

## Dependencies (2)

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

## Recent versions

- 1.0.5 (latest) — 2023-11-07
- 1.0.2 (ts4.2) — 2023-03-03
- 1.0.1 (ts3.6) — 2021-07-08
- 1.0.0 (ts3.4) — 2021-01-25
- 1.0.4 — 2023-10-18
- 1.0.3 — 2023-09-20

## README

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

import { LegacySharedOptions as Options } from "sass";

interface SassResults {
    css: string;
    map: string;
    stats: {
        entry: string;
        start: Date;
        end: Date;
        duration: number;
        includedFiles: string[];
    };
}

type SassOptions = Options<"sync"> & {
    success?: ((results: SassResults) => any) | undefined;
    error?: ((err: Error) => any) | undefined;
    imagePaths?: string[] | undefined;
};

interface GulpSassOptions extends SassOptions {
    errLogToConsole?: boolean | undefined;
    onSuccess?: ((css: string) => any) | undefined;
    onError?: ((err: Error) => any) | undefined;
    sync?: boolean | undefined;
}

interface Sass {
    (opts?: GulpSassOptions): NodeJS.ReadWriteStream;
    logError(error?: string): void;
    sync(options?: GulpSassOptions): NodeJS.ReadWriteStream;
}

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

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