# @types/postcss-pxtorem

> TypeScript definitions for postcss-pxtorem

Latest version **6.1.0** (published 2024-10-01) · MIT license · 0 weekly downloads

## Install

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

## 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 | 6.1.0 |
| Published | 2024-10-01 |
| First published | 2023-04-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51449 |
| Maintainers | types |

## Links

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

## Dependencies (1)

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

## Recent versions

- 6.1.0 (latest) — 2024-10-01
- 6.0.3 (ts4.5) — 2023-11-07
- 6.0.0 (ts4.3) — 2023-04-29
- 6.0.2 — 2023-10-18
- 6.0.1 — 2023-09-24

## README

# Installation
> `npm install --save @types/postcss-pxtorem`

# Summary
This package contains type definitions for postcss-pxtorem (https://github.com/cuth/postcss-pxtorem#readme).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/postcss-pxtorem.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/postcss-pxtorem/index.d.ts)
````ts
import { Input, PluginCreator } from "postcss";
declare namespace PostcssPxToRem {
    interface Options {
        rootValue?: number | ((input: Input) => number);
        unitPrecision?: number;
        propList?: string[];
        selectorBlackList?: Array<string | RegExp>;
        replace?: boolean;
        mediaQuery?: boolean;
        minPixelValue?: number;
        exclude?: string | RegExp | ((file: string) => boolean);
        unit?: string;
    }
}

declare var pxtorem: PluginCreator<PostcssPxToRem.Options>;

export = pxtorem;

````

### Additional Details
 * Last updated: Tue, 01 Oct 2024 15:37:23 GMT
 * Dependencies: [postcss](https://npmjs.com/package/postcss)

# Credits
These definitions were written by [Steven Bassett](https://github.com/bassettsj).

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