# @types/postcss-modules-scope

> TypeScript definitions for postcss-modules-scope

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

## Install

```sh
npm install @types/postcss-modules-scope
pnpm add @types/postcss-modules-scope
yarn add @types/postcss-modules-scope
bun add @types/postcss-modules-scope
```

## 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 | 3.0.4 |
| Published | 2023-11-07 |
| First published | 2018-11-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51446 |
| Maintainers | types |

## Links

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

## Dependencies (1)

- [postcss](https://npm.io/package/postcss.md) ^8.0.0

## Recent versions

- 3.0.4 (latest) — 2023-11-07
- 3.0.1 (ts4.1) — 2022-10-24
- 3.0.0 (ts3.8) — 2021-11-18
- 1.1.2 (ts3.6) — 2021-07-09
- 1.1.0 (ts2.2) — 2018-11-18
- 3.0.3 — 2023-10-18
- 3.0.2 — 2023-09-24
- 1.1.1 — 2021-07-07

## README

# Installation
> `npm install --save @types/postcss-modules-scope`

# Summary
This package contains type definitions for postcss-modules-scope (https://github.com/css-modules/postcss-modules-scope).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/postcss-modules-scope.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/postcss-modules-scope/index.d.ts)
````ts
import { PluginCreator } from "postcss";

declare namespace scope {
    interface Options {
        generateScopedName?:
            | ((
                name: string,
                path: string,
                css: string,
            ) => string)
            | undefined;

        generateExportEntry?:
            | ((
                name: string,
                scopedName: string,
                path: string,
                css: string,
            ) => { key: string; value: string })
            | undefined;

        exportGlobals?: boolean | undefined;
    }
}

declare const creator: PluginCreator<scope.Options>;
export = creator;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
 * Dependencies: [postcss](https://npmjs.com/package/postcss)

# Credits
These definitions were written by [Jeow Li Huan](https://github.com/huan086).

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