UNPKG

contains-path

Version:

Return true if a file path contains the given path.

73 lines (72 loc) 1.43 kB
{ "name": "contains-path", "description": "Return true if a file path contains the given path.", "version": "1.0.0", "homepage": "https://github.com/jonschlinkert/contains-path", "author": "Jon Schlinkert (https://github.com/jonschlinkert)", "contributors": [ "Gerard <germtf@gmail.com> (https://github.com/germtb)", "Jon Schlinkert <jon.schlinkert@sellside.com> (http://twitter.com/jonschlinkert)" ], "repository": "jonschlinkert/contains-path", "bugs": { "url": "https://github.com/jonschlinkert/contains-path/issues" }, "license": "MIT", "files": [ "index.js" ], "main": "index.js", "engines": { "node": ">=0.10.0" }, "scripts": { "test": "mocha" }, "dependencies": { "normalize-path": "^2.1.1", "path-starts-with": "^1.0.0" }, "devDependencies": { "gulp-format-md": "^0.1.12", "mocha": "^3.2.0" }, "keywords": [ "contains", "directory", "dirname", "exec", "ext", "extname", "file", "filepath", "fp", "has", "match", "matches", "path", "regex", "test" ], "verb": { "related": { "list": [ "ends-with", "normalize-path", "path-ends-with", "unixify" ] }, "toc": false, "layout": "default", "tasks": [ "readme" ], "plugins": [ "gulp-format-md" ], "lint": { "reflinks": true } } }