Find a file or directory by walking up parent directories
MIT License
Bot releases are visible (Hide)
URL
for stopAt
option ba19153https://github.com/sindresorhus/find-up/compare/v6.3.0...v7.0.0
URL
as cwd
(#60) f348f3chttps://github.com/sindresorhus/find-up/compare/v6.2.0...v6.3.0
findUpMultiple()
method (#56) 8f80ac7https://github.com/sindresorhus/find-up/compare/v6.1.0...v6.2.0
stopAt
option (#54) b3b3b00https://github.com/sindresorhus/find-up/compare/v6.0.0...v6.1.0
const findUp = require('find-up')
=> import {findUp} from 'find-up'
const findUpSync = require('find-up').sync
=> import {findUpSync} from 'find-up'
const findUpStop = require('find-up').stop
=> import {findUpStop} from 'find-up'
const pathExists = require('find-up').exists
=> import {pathExists} from 'find-up'
const pathExistsSync = require('find-up').sync.exists
=> import {pathExistsSync} from 'find-up'
https://github.com/sindresorhus/find-up/compare/v5.0.0...v6.0.0
findUp.exists()
and findUp.sync.exists()
(#41) 56b779bhttps://github.com/sindresorhus/find-up/compare/v4.0.0...v4.1.0
Breaking:
undefined
instead of null
when the path cannot be found a7a9500Enhancements:
https://github.com/sindresorhus/find-up/compare/v3.0.0...v4.0.0