suffix
v1.0.0
Published
Add suffix to a filename.
Downloads
1,126,392
Readme
suffix
Add suffix to a filename.
Install
$ npm install --save suffix
Usage
const suffix = require('suffix')
suffix('a.js', '.min')
//=> a.min.js
API
suffix(filename, [suffix])
filename
Type: string
suffix
Type: string
The suffix string to be added.
License
MIT © EGOIST