# rework-ie-limits

> A Rework plugin to check if the number of CSS selectors in a file exceeds the limit for IE < 10

Latest version **0.1.1** (published 2014-03-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install rework-ie-limits
pnpm add rework-ie-limits
yarn add rework-ie-limits
bun add rework-ie-limits
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2014-03-05 |
| First published | 2014-03-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Maintainers | necolas |
| Keywords | rework, style, stylesheet, css, ie, selector, limit |

## Links

- npm: https://www.npmjs.com/package/rework-ie-limits
- Repository: https://github.com/reworkcss/rework-mixin-opacity
- Issues: https://github.com/reworkcss/rework-mixin-opacity/issues
- npm.io page: https://npm.io/package/rework-ie-limits

## Alternatives

- [style-dictionary](https://npm.io/package/style-dictionary.md) — 2.0M weekly downloads
- [postcss-merge-idents](https://npm.io/package/postcss-merge-idents.md) — 1.7M weekly downloads
- [@fontsource/noto-sans](https://npm.io/package/@fontsource/noto-sans.md) — 93.0K weekly downloads
- [uglifycss](https://npm.io/package/uglifycss.md) — 71.6K weekly downloads
- [mat4-interpolate](https://npm.io/package/mat4-interpolate.md) — 23.3K weekly downloads

## Recent versions

- 0.1.1 (latest) — 2014-03-05
- 0.1.0 — 2014-03-05

## README

# rework-ie-limits

[![Build Status](https://secure.travis-ci.org/reworkcss/rework-ie-limits.png?branch=master)](http://travis-ci.org/reworkcss/rework-ie-limits)

A [Rework](https://github.com/reworkcss/rework) plugin that tests whether a chunk of CSS exceeds IE < 10's limit of 4095 selectors.

## Installation

Install with npm:

```
npm install rework-ie-limits
```

## Use

As a Rework plugin:

```js
var rework = require('rework');
var ieLimits = require('rework-ie-limits');

var css = rework(cssinput).use(ieLimits);
```

It will throw an `Error` if the limit has been exceeded.

Note that the plugin is extremely conservative. It will assume that ALL
selectors (and those within any media query) are supported and applied by each
version of IE < 10. Therefore, there will be some false positives as you
approach the limit.

## Testing

For CI:

```
npm test
```

For development:

```
npm run watch
```

---
_Source: https://npm.io/package/rework-ie-limits · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
