pretty-filename
0.1.0 • Public • Published
Create a pretty filename from an unsafe string.
require('pretty-filename')('filj23-^$24 t4.ex??t'); // 'filj23-24 t4.ext'
We keep alphanumeric characters, -, _, a space and a dot. We trim space from the start and the end, and we also do not end with a dot.
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 0.1.0
2
Version History
- VersionDownloads (Last 7 Days)
- 0.1.0
2
Package Sidebar
Install
Weekly Downloads