# pug-bem-lexer

> Adds bem shortcuts to pug

Latest version **0.0.9** (published 2017-02-17) · ISC license · 0 weekly downloads

## Install

```sh
npm install pug-bem-lexer
pnpm add pug-bem-lexer
yarn add pug-bem-lexer
bun add pug-bem-lexer
```

## 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.9 |
| Published | 2017-02-17 |
| First published | 2016-12-31 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Khalid Hoffman |
| Maintainers | khalidhoffman |
| Keywords | pugjs, pug, BEM, pug-lexer, plugin |

## Links

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

## Recent versions

- 0.0.9 (latest) — 2017-02-17
- 0.0.8 — 2017-02-03
- 0.0.7 — 2017-02-03
- 0.0.6 — 2016-12-31
- 0.0.5 — 2016-12-31

## README

# pug-bem-lexer
A plugin that adds BEM shortcuts to pug
# This repo has been deprecated in favor of [pug-bemify](https://github.com/khalidhoffman/pug-bemify)
## Installation
run `npm i pug-bem-lexer`

## Setup
```
pug.render(somePugString, {
  plugins : [
    {
        lex : require('pug-bem-lexer')
    }
  ]
});
```

## Example Usage
```
.block.-a-modifier
    ._some-element
```
renders:
```
<div class="block block--a-modifier">
    <div class="block__some-element"></div>
</div>
```

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