An open API service indexing awesome lists of open source software.

https://github.com/oreshinya/simple-rev

Static asset revisioning.
https://github.com/oreshinya/simple-rev

asset rev revision static

Last synced: 2 months ago
JSON representation

Static asset revisioning.

Awesome Lists containing this project

README

        

# simple-rev

[![npm version](https://badge.fury.io/js/simple-rev.svg)](https://badge.fury.io/js/simple-rev)

Static asset revisioning.

## Installation

Only NPM scripts:

```
$ npm i simple-rev
```

Or globally:

```
$ npm i -g simple-rev
```

## Usage

```
$ simple-rev
```

It does the following:

- Create manifest
- Rename files with content hash
- Copy file from input directory to output directory
- Replace URLs with hashed version in files

## LICENSE

MIT