simple-rev

1.1.1 • Public • Published

simple-rev

npm version

Static asset revisioning.

Installation

Only NPM scripts:

$ npm i simple-rev

Or globally:

$ npm i -g simple-rev

Usage

$ simple-rev <input_dir> <output_dir>

It does do 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

Package Sidebar

Install

npm i simple-rev

Weekly Downloads

4

Version

1.1.1

License

MIT

Unpacked Size

129 kB

Total Files

5

Last publish

Collaborators

  • oreshinya