# metalsmith-rename

> Metalsmith plugin to rename entries

Latest version **1.0.0** (published 2015-05-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install metalsmith-rename
pnpm add metalsmith-rename
yarn add metalsmith-rename
bun add metalsmith-rename
```

## 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 | 2015-05-01 |
| First published | 2015-05-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Author | Maxime Thirouin |
| Maintainers | moox |
| Keywords | metalsmith, metalsmith-plugin |

## Links

- npm: https://www.npmjs.com/package/metalsmith-rename
- Repository: https://github.com/MoOx/metalsmith-rename
- Issues: https://github.com/MoOx/metalsmith-rename/issues
- npm.io page: https://npm.io/package/metalsmith-rename

## Recent versions

- 1.0.0 (latest) — 2015-05-01

## README

# metalsmith-rename [![Travis Build Status](https://travis-ci.org/MoOx/metalsmith-rename.svg)](https://travis-ci.org/MoOx/metalsmith-rename)

> Metalsmith plugin to rename entries

## Installation

```console
$ npm install metalsmith-rename
```

## Usage

```js
import Metalsmith from "metalsmith"
import rename from "metalsmith-rename"

new Metalsmith("./")
  .use(
    rename([
      [/\.md$/, ".html"]
    ])
  )
  .build(err => {if (err) {throw err}})
```

### Options

This plugin takes an array.
Each item must be an array of [pattern, replacement]

## [Changelog](CHANGELOG.md)

## [License](LICENSE)

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