1 # is-path-inside [![Build Status](https://travis-ci.org/sindresorhus/is-path-inside.svg?branch=master)](https://travis-ci.org/sindresorhus/is-path-inside)
3 > Check if a path is inside another path
9 $ npm install --save is-path-inside
16 var isPathInside = require('is-path-inside');
18 isPathInside('a/b/c', 'a/b');
21 isPathInside('a/b/c', 'x/y');
24 isPathInside('a/b/c', 'a/b/c');
27 isPathInside('/Users/sindresorhus/dev/unicorn', '/Users/sindresorhus');
34 MIT © [Sindre Sorhus](http://sindresorhus.com)