@naxmefy/basename
v0.0.1
Published
a simple micro lib to return the base name of given path...
Downloads
1
Readme
@naxmefy/basename
a simple micro lib to return the base name of given path...
If you see the code - you may understand why there shouldn't be a lib like this
installation
$ npm i @naxmefy/basename
usage
const basename = require('@naxmefy/basename')
basename('C:\\users\\rofl\\example.jpeg') // will return --> example