time-to-botec/js/node_modules/@stdlib/utils/dirname/docs/repl.txt
NunoSempere b6addc7f05 feat: add the node modules
Necessary in order to clearly see the squiggle hotwiring.
2022-12-03 12:44:49 +00:00

23 lines
297 B
Plaintext

{{alias}}( path )
Returns a directory name.
Parameters
----------
path: string
Path.
Returns
-------
out: string
Directory name.
Examples
--------
> var dir = {{alias}}( './foo/bar/index.js' )
'./foo/bar'
See Also
--------