# @types/postcss-modules-local-by-default

> TypeScript definitions for postcss-modules-local-by-default

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

## Install

```sh
npm install @types/postcss-modules-local-by-default
pnpm add @types/postcss-modules-local-by-default
yarn add @types/postcss-modules-local-by-default
bun add @types/postcss-modules-local-by-default
```

## 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 | 4.0.2 |
| 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.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51444 |
| Maintainers | types |

## Links

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

## Dependencies (1)

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

## Recent versions

- 4.0.2 (latest) — 2023-11-07
- 4.0.0 (ts3.8) — 2021-11-18
- 1.2.2 (ts3.6) — 2021-07-09
- 1.2.0 (ts2.2) — 2018-11-18
- 4.0.1 — 2023-10-18
- 1.2.1 — 2021-07-07

## README

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

declare namespace localByDefault {
    interface Options {
        mode?: "global" | "local" | "pure" | undefined;
        rewriteUrl?: ((global: boolean, url: string) => string) | undefined;
    }
}

declare const creator: PluginCreator<localByDefault.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-local-by-default · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
