subdir
Return whether a path is a sub-path.
This module doesn't do any IO, only pure path computations.
example
var subdir = ;consoledir;
$ node example/inside.js
[ true, true, false ]
methods
var subdir =
subdir(parent, path)
Return a boolean value: whether the path
is a subdirectory of parent
.
path
is resolved with respect to parent
if it is a relative path.
install
With npm do:
npm install subdir
license
MIT