# gatsby-plugin-replace-paths

> A Gatsby plugin to replace page paths.

Latest version **1.0.1** (published 2020-05-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install gatsby-plugin-replace-paths
pnpm add gatsby-plugin-replace-paths
yarn add gatsby-plugin-replace-paths
bun add gatsby-plugin-replace-paths
```

## 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.1 |
| Published | 2020-05-01 |
| First published | 2020-04-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Maxime Blanc |
| Maintainers | jean-smaug |
| Keywords | gatsby, gatsby-plugin |

## Links

- npm: https://www.npmjs.com/package/gatsby-plugin-replace-paths
- Repository: https://github.com/jean-smaug/gatsby-plugin-replace-paths
- npm.io page: https://npm.io/package/gatsby-plugin-replace-paths

## Recent versions

- 1.0.1 (latest) — 2020-05-01
- 1.0.0 — 2020-04-22

## README

# gatsby-plugin-replace-paths

[![npm][npm-image]][npm-url]

> A Gatsby plugin to replace page paths.

## Installation

### Yarn

```bash
$ yarn add --dev gatsby-plugin-replace-paths
```

### npm

```bash
$ npm install --save-dev gatsby-plugin-replace-paths
```

## Usage

```js
// gatsby-config.js

module.exports = {
  // ...
  plugins: [
    {
      resolve: "gatsby-plugin-replace-paths",
      options: {
        config: [
          {
            pattern: "/about",
            replacement: "/a-propos",
          },
          {
            pattern: /(e)/g,
            replacement: (_, match) => match.toUpperCase(),
          },
        ],
      },
    },
  ],
};
```

## License

MIT © [Maxime Blanc](//maximeblanc.fr)
Fork of [Neil Kistner](https://github.com/wyze/gatsby-plugin-replace-path)

[npm-image]: https://img.shields.io/npm/v/gatsby-plugin-replace-path.svg?style=flat-square
[npm-url]: https://npmjs.com/package/gatsby-plugin-replace-paths

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