UNPKG

is-path-in-cwd

Version:

Check if a path is in the current working directory

45 lines (44 loc) 781 B
{ "name": "is-path-in-cwd", "version": "4.0.0", "description": "Check if a path is in the current working directory", "license": "MIT", "repository": "sindresorhus/is-path-in-cwd", "funding": "https://github.com/sponsors/sindresorhus", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "https://sindresorhus.com" }, "type": "module", "exports": "./index.js", "engines": { "node": ">=12" }, "scripts": { "test": "xo && ava && tsd" }, "files": [ "index.js", "index.d.ts" ], "keywords": [ "path", "cwd", "pwd", "check", "filepath", "file", "folder", "in", "inside" ], "dependencies": { "is-path-inside": "^4.0.0" }, "devDependencies": { "ava": "^3.15.0", "tsd": "^0.14.0", "xo": "^0.39.1" } }