orionsoft-react-scripts
Version:
Orionsoft Configuration and scripts for Create React App.
32 lines (18 loc) • 514 B
Markdown
if a path is inside another path
```sh
$ npm install --save is-path-inside
```
```js
var isPathInside = require('is-path-inside');
isPathInside('a/b', 'a/b/c');
//=> true
isPathInside('x/y', 'a/b/c');
//=> false
isPathInside('a/b/c', 'a/b/c');
//=> false
```
MIT © [Sindre Sorhus](http://sindresorhus.com)
> Check