@lukeboyle/get-filename-from-path
v1.0.3
Published
## Usage
Downloads
4
Readme
get-filename-from-path
Usage
import getFilenameFromPath from '@lukeboyle/get-filename-from-path';
getFilenameFromPath('/some/path/some-file.js');
// => 'some-file'
API
getFilenameFromPath
Arguments
- path
Return value
- filename - The filename extracted from the path provided in argument one