0.0.1 • Published 5 years ago
@naxmefy/basename v0.0.1
@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
0.0.1
5 years ago