Open plee-nm opened 7 years ago
It should be documented. Pull request welcome.
i think it would make more sense to handle it, so path.normalize() the paths before comparison. As then the 'isInside' question would be answered more correctly... This would be a breaking (the functionality, not the docs ;-) ) change though.
Is it documented that relative paths aren't handled or is this a bug?
https://runkit.com/plee-nm/runkit-npm-path-is-inside