shared
utils
string
object
is
extension
js
tracking
string
dom
when
selection
position
iframe
event
scroll
console
node
string
project
fs
console
dirname
Type:Function
Status:stable
Since:1.0.0
Platform:node
@blackbyte.sugar.node.fs
Return the dirname the same as the dirname cjs variable. The only difference is that it’s a function and you need to pass the “import” variable from the filename in which you use this…
Return
- -String
The dirname path
Example
import { dirname } from '@blackbyte/sugar/fs';
dirname();Author
- Olivier Bosselolivier.bossel@gmail.comhttps://blackbyte.space