Sha256: 76d05f1e475524b75ca63ee6721a7acf9c3a447e3907ef8609af6d420ffd3c87

Contents?: true

Size: 514 Bytes

Versions: 5

Compression:

Stored size: 514 Bytes

Contents

# is-path-inside [![Build Status](https://travis-ci.org/sindresorhus/is-path-inside.svg?branch=master)](https://travis-ci.org/sindresorhus/is-path-inside)

> Check if a path is inside another path


## Install

```sh
$ npm install --save is-path-inside
```


## Usage

```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
```


## License

MIT © [Sindre Sorhus](http://sindresorhus.com)

Version data entries

5 entries across 5 versions & 3 rubygems

Version Path
guard-sass-lint-0.1.2 node_modules/is-path-inside/readme.md
guard-sass-lint-0.1.1 node_modules/is-path-inside/readme.md
lanes-0.8.0 node_modules/is-path-inside/readme.md
eslint_node_modules-1.6.0.1 vendor/node_modules/eslint/node_modules/file-entry-cache/node_modules/flat-cache/node_modules/del/node_modules/is-path-in-cwd/node_modules/is-path-inside/readme.md
eslint_node_modules-1.6.0 vendor/node_modules/eslint/node_modules/file-entry-cache/node_modules/flat-cache/node_modules/del/node_modules/is-path-in-cwd/node_modules/is-path-inside/readme.md