# posthtml-rename-tags

> Rename HTML tags

Latest version **1.0.0** (published 2017-10-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install posthtml-rename-tags
pnpm add posthtml-rename-tags
yarn add posthtml-rename-tags
bun add posthtml-rename-tags
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2017-10-15 |
| First published | 2017-10-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | madzhup |
| Keywords | posthtml |

## Links

- npm: https://www.npmjs.com/package/posthtml-rename-tags
- Repository: git@github.com:madzhup/posthtml-rename-tags
- Homepage: https://github.com/madzhup/posthtml-rename-tags
- Issues: https://github.com/madzhup/posthtml-rename-tags/issues
- npm.io page: https://npm.io/package/posthtml-rename-tags

## Dependencies (1)

- [posthtml-match-helper](https://npm.io/package/posthtml-match-helper.md) ^1.0.1

## Alternatives

- [@tsparticles/shape-image](https://npm.io/package/@tsparticles/shape-image.md) — 303.7K weekly downloads
- [@tsparticles/shape-line](https://npm.io/package/@tsparticles/shape-line.md) — 233.7K weekly downloads
- [stringify-attributes](https://npm.io/package/stringify-attributes.md) — 58.6K weekly downloads
- [mobile-drag-drop](https://npm.io/package/mobile-drag-drop.md) — 46.3K weekly downloads
- [@comunica/actor-rdf-parse-html](https://npm.io/package/@comunica/actor-rdf-parse-html.md) — 29.2K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2017-10-15

## README

# posthtml-rename-tags

PostHTMLRenameTags is plugin for [PostHTML](https://github.com/posthtml/posthtml). It replace HTML tags with new tag.

## Usage

``` javascript
var posthtml = require('posthtml'),
    html = '<div class="wow">OMG</div>';

posthtml([ require('posthtml-rename-tags')({
    '.wow' : 'span'
})])
    .process(html)
    .then(function(result) {
        console.log(result);
    });

// <span class="wow">OMG</span>
```

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