# stylus-bem-evaluator

> BEM-scheme Evaluator for stylus

Latest version **0.0.5** (published 2017-01-10) · ISC license · 0 weekly downloads

## Install

```sh
npm install stylus-bem-evaluator
pnpm add stylus-bem-evaluator
yarn add stylus-bem-evaluator
bun add stylus-bem-evaluator
```

## 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.0.5 |
| Published | 2017-01-10 |
| First published | 2016-12-26 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Khalid Hoffman |
| Maintainers | khalidhoffman |
| Keywords | stylus, bem, evaluator, plugin, css, styl |

## Links

- npm: https://www.npmjs.com/package/stylus-bem-evaluator
- Repository: https://github.com/khalidhoffman/stylus-bem-evaluator
- Homepage: https://github.com/khalidhoffman/stylus-bem-evaluator#readme
- Issues: https://github.com/khalidhoffman/stylus-bem-evaluator/issues
- npm.io page: https://npm.io/package/stylus-bem-evaluator

## Dependencies (1)

- [stylus](https://npm.io/package/stylus.md) ^0.54.5

## 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.0.5 (latest) — 2017-01-10
- 0.0.3 — 2017-01-10
- 0.0.2 — 2016-12-27
- 0.0.1 — 2016-12-26

## README

# stylus-bem-evaluator

## About
replaces the `/` in `/__child` or `/--mod` with the first parent block selector

## Installation
run `npm i stylus-bem-evaluator` in the terminal

## How to use
```
var stylus = require('stylus'),
  str =
  `.parent 
    .block
      /__child
        color: blue`;

stylus(str)
  .use(require('stylus-bem-evaluator'))
  .render(function (err, css) {
    console.log(err || css);
    // .parent .block .block__child {
    //   color: #00f;
    // }
  });
```

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