extract-file-name-from-path
v1.0.0arrow_drop_downv1.0.0
v0.0.5
v0.0.4
v0.0.3
v0.0.2
v0.0.1
STATUS
Passing
DOWNLOADS
58
VISIBILITY
Public
PUBLISHED
7 years ago
SIZE
2 KB
Recieves a file path and returns the file name
1 contributor
Like
Install extract-file-name-from-path as a package?
Copied
npm i @bit/giladshoham.for-krazybee.file.extract-file-name-from-path
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
and packages in Bit or NPM to the example. any of the 1 million componentstoggle layout
chevron_left
chevron_right
extractFileNameFromPath (
filePath:
) : string
string
Recieves a file path and returns the file name
Argument
filePath:
string
Returns
string
Test Summary
extractFileNameFromPath should extract file name from full path | Pass |
extractFileNameFromPath should extract file name from partial path | Pass |
extractFileNameFromPath should extract file name from path with more than one dot | Pass |