UNPKG

find-up

Version:

Find a file or directory by walking up parent directories

74 lines (73 loc) 1.24 kB
{ "name": "find-up", "version": "8.0.0", "description": "Find a file or directory by walking up parent directories", "license": "MIT", "repository": "sindresorhus/find-up", "funding": "https://github.com/sponsors/sindresorhus", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "https://sindresorhus.com" }, "type": "module", "exports": { "types": "./index.d.ts", "default": "./index.js" }, "sideEffects": false, "engines": { "node": ">=20" }, "scripts": { "test": "xo && ava test/findup.js test/finddown.js && tsd" }, "files": [ "index.js", "index.d.ts" ], "keywords": [ "find", "up", "find-up", "findup", "look-up", "look", "file", "search", "match", "package", "resolve", "parent", "parents", "folder", "directory", "walk", "walking", "path" ], "dependencies": { "locate-path": "^8.0.0", "unicorn-magic": "^0.3.0" }, "devDependencies": { "ava": "^6.4.1", "is-path-inside": "^4.0.0", "tempy": "^3.1.0", "tsd": "^0.33.0", "xo": "^1.2.2" }, "xo": { "ignores": [ "fixture/**" ], "rules": { "ava/no-import-test-files": "off", "max-params": [ "warn", 5 ], "unicorn/no-empty-file": "off" } } }