# postcss-util-class-placeholder

> A simple PostCSS plugin that change utility class selector ato `Placeholder` syntax (SASS-like).

Latest version **0.2.0** (published 2019-03-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install postcss-util-class-placeholder
pnpm add postcss-util-class-placeholder
yarn add postcss-util-class-placeholder
bun add postcss-util-class-placeholder
```

## 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.2.0 |
| Published | 2019-03-11 |
| First published | 2019-03-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.9 KB |
| Known vulnerabilities | 0 (+5 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Shen-Teng Tu |
| Maintainers | shentengtu |
| Keywords | postcss, css, postcss-plugin, placeholder |

## Links

- npm: https://www.npmjs.com/package/postcss-util-class-placeholder
- Repository: https://github.com/ShenTengTu/postcss-util-class-placeholder
- Issues: https://github.com/ShenTengTu/postcss-util-class-placeholder/issues
- npm.io page: https://npm.io/package/postcss-util-class-placeholder

## Dependencies (1)

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

## 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.2.0 (latest) — 2019-03-11
- 0.1.1 — 2019-03-11
- 0.1.0 — 2019-03-11

## README

# PostCSS Util Class Placeholder [![Build Status][ci-img]][ci]

A simple [PostCSS] plugin that change utility class selector to `Placeholder` syntax (SASS-like).

[PostCSS]: https://github.com/postcss/postcss
[ci-img]:  https://travis-ci.com/ShenTengTu/postcss-util-class-placeholder.svg
[ci]:      https://travis-ci.com/ShenTengTu/postcss-util-class-placeholder

```css
.hover\:text-light-grey:hover {
  color: #666;
}
```

```css
%hover\:text-light-grey:hover {
  color: #666;
}
```

## Usage

```js
const path = require('path')
module.exports = {
  plugins: [
    //specify the files which you want to process only
    require('postcss-util-class-placeholder')({files: [
      path.resolve(__dirname, './src/your-util.css')
    ]})
  ]
}
```

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