# rev-path-dxb

> Create a revved file path. I'm just modifying the example demo.css = > demo.css?V=5a6b8d

Latest version **2.0.1** (published 2018-11-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install rev-path-dxb
pnpm add rev-path-dxb
yarn add rev-path-dxb
bun add rev-path-dxb
```

## Health

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

Positive: no vulnerabilities; high maintenance score.

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

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 2.0.1 |
| Published | 2018-11-26 |
| First published | 2018-11-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4 |
| Dependencies | 1 |
| Unpacked size | 2.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 21 |
| Author | A-bao |
| Maintainers | duanxb |
| Keywords | rev, revving, web, file, name, filename, path, cache, caching |

## Links

- npm: https://www.npmjs.com/package/rev-path-dxb
- Repository: https://github.com/sindresorhus/rev-path
- Homepage: https://github.com/sindresorhus/rev-path#readme
- Issues: https://github.com/sindresorhus/rev-path/issues
- npm.io page: https://npm.io/package/rev-path-dxb

## 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

- 2.0.1 (latest) — 2018-11-26

## README

# rev-path-dxb [![Build Status](https://travis-ci.org/sindresorhus/rev-path-dxb.svg?branch=master)](https://travis-ci.org/sindresorhus/rev-path-dxb)

> Create a [revved file path](http://blog.risingstack.com/automatic-cache-busting-for-your-css/)


## Install

```
$ npm install rev-path-dxb
```


## Usage

```js
const revPath = require('rev-path-dxb');
const hash = 'bb9d8fe615'

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

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

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

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