# revm-path

> Create a revved file path appending the md5 hash string

Latest version **1.0.1** (published 2017-03-22) · 0 weekly downloads

## Install

```sh
npm install revm-path
pnpm add revm-path
yarn add revm-path
bun add revm-path
```

## 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 | 2017-03-22 |
| First published | 2017-03-22 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 10 |
| Maintainers | caomei |
| Keywords | rev, revving, web, file, name, filename, path, cache, caching |

## Links

- npm: https://www.npmjs.com/package/revm-path
- Repository: https://github.com/WeideMo/revm-path
- Issues: https://github.com/WeideMo/revm-path/issues
- npm.io page: https://npm.io/package/revm-path

## Dependencies (1)

- [modify-filename](https://npm.io/package/modify-filename.md) ^1.0.0

## Alternatives

- [base64url](https://npm.io/package/base64url.md) — 6.1M weekly downloads
- [get-installed-path](https://npm.io/package/get-installed-path.md) — 502.9K weekly downloads
- [@uppy/url](https://npm.io/package/@uppy/url.md) — 185.8K weekly downloads
- [@d3fc/d3fc-shape](https://npm.io/package/@d3fc/d3fc-shape.md) — 16.2K weekly downloads
- [localizer](https://npm.io/package/localizer.md) — 226 weekly downloads

## Recent versions

- 1.0.1 (latest) — 2017-03-22

## README

# revm-path

> Create a revved file path appending md5 hash string.


## Install

```
$ npm install --save revm-path
```


## Usage

```js
var revPath = require('revm-path');
var hash = 'bb9d8fe615'

var path = revPath('src/unicorn.png', hash);
//=> 'src/unicorn.png?bb9d8fe615'

revPath('src/unicorn.png', Date.now());
//=> 'src/unicorn.png?1432309925925'

// you can also revert an already hashed path
revPath.revert(path, hash);
//=> 'src/unicorn.png'
```

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