node-path-is-inside

Tests whether one path is inside another path
  https://github.com/domenic/path-is-inside
  0
  no reviews



The **path-is-inside** package will give you a robust, cross-platform way of detecting whether a given path is inside another path.

Like Node's built-in path module, path-is-inside treats all file paths on Windows as case-insensitive, whereas it treats all file paths on *-nix operating systems as case-sensitive. Keep this in mind especially when working on a Mac, where, despite Node's defaults, the OS usually treats paths case-insensitively.

Node.js is an event-based server-side JavaScript engine.