rev-path
Create a revved file path
Install
$ npm install rev-path
Usage
const revPath = ;const hash = 'bb9d8fe615' const path = ;//=> 'src/unicorn-bb9d8fe615.png' ;//=> 'src/unicorn-1432309925925.png' // You can also revert an already hashed pathrevPath;//=> 'src/unicorn.png'
Related
- rev-file - Get the revved file path of a file
License
MIT © Sindre Sorhus