@naxmefy/basename

0.0.1 • Public • Published

@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

Readme

Keywords

none

Package Sidebar

Install

npm i @naxmefy/basename

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

2.65 kB

Total Files

5

Last publish

Collaborators

  • naxmefy