# @types/node-sass-middleware

> TypeScript definitions for node-sass-middleware

Latest version **0.0.36** (published 2025-10-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/node-sass-middleware
pnpm add @types/node-sass-middleware
yarn add @types/node-sass-middleware
bun add @types/node-sass-middleware
```

## Health

**Score 65/100 (B)** — status: stable.

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

Warnings: low downloads; no esm support; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.0.36 |
| Published | 2025-10-24 |
| First published | 2016-05-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 4.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51432 |
| Maintainers | types |

## Links

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

## Dependencies (2)

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

## Recent versions

- 0.0.36 (latest) — 2025-10-24
- 0.0.35 (ts4.9) — 2023-11-07
- 0.0.32 (ts3.6) — 2021-07-08
- 0.0.31 (ts3.1) — 2019-02-19
- 0.0.30 (ts2.6) — 2017-11-09
- 0.0.29 (ts2.0) — 2016-09-19
- 0.0.34 — 2023-10-18
- 0.0.33 — 2023-09-23
- 0.0.28 — 2016-07-14
- 0.0.27-alpha — 2016-07-08
- 0.0.26-alpha — 2016-07-04
- 0.0.25-alpha — 2016-07-02
- 0.0.24-alpha — 2016-07-01
- 0.0.23-alpha — 2016-07-01
- 0.0.22-alpha — 2016-05-25
- … 3 more at https://npm.io/package/@types/node-sass-middleware/versions

## README

# Installation
> `npm install --save @types/node-sass-middleware`

# Summary
This package contains type definitions for node-sass-middleware (https://github.com/sass/node-sass-middleware).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node-sass-middleware.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node-sass-middleware/index.d.ts)
````ts
import express = require("express");
import * as sass from "node-sass";

interface Options extends sass.Options {
    /** */
    src: string;
    /** */
    dest?: string | undefined;
    /** */
    root?: string | undefined;
    /** */
    prefix?: string | undefined;
    /** */
    force?: boolean | undefined;
    /** */
    debug?: boolean | undefined;
    /** */
    indentedSyntax?: boolean | undefined;
    /** */
    response?: boolean | undefined;
    /** */
    error?: (() => void) | undefined;
}

/** */

declare function nodeSassMiddleware(options: Options): express.RequestHandler;

/** */
declare namespace nodeSassMiddleware {}

/** */
export = nodeSassMiddleware;

````

### Additional Details
 * Last updated: Fri, 24 Oct 2025 04:02:41 GMT
 * Dependencies: [@types/express](https://npmjs.com/package/@types/express), [@types/node-sass](https://npmjs.com/package/@types/node-sass)

# Credits
These definitions were written by [Pascal Garber](http://www.jumplink.eu).

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