UNPKG
path2
Version:
latest (0.1.0)
0.1.0
Modular and extended version of `path` package
github.com/medikoo/path2
medikoo/path2
path2
/
test
/
_get-dirname-fn.js
7 lines
(5 loc)
•
116 B
JavaScript
View Raw
1
2
3
4
5
6
7
'use strict'
;
module
.
exports
=
function
(
t, a
) { t =
t
(
require
(
'../posix/_split-path'
));
a
(
t
(
'/a/b/'
),
'/a'
); };