
Security News
GitHub Actions Checkout Now Blocks Risky pull_request_target Checkouts
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.
@kesplus/findup-sync
Advanced tools
Find the first file matching a given pattern in the current directory or the nearest ancestor directory.
Find the first file matching a given pattern in the current directory or the nearest ancestor directory.
Matching is done with micromatch, please report any matching related issues on that repository.
var findup = require('findup-sync');
findup(patternOrPatterns [, micromatchOptions]);
// Start looking in the CWD.
var filepath1 = findup('{a,b}*.txt');
// Start looking somewhere else, and ignore case (probably a good idea).
var filepath2 = findup('{a,b}*.txt', {cwd: '/some/path', nocase: true});
findup(patterns, [options])patterns {String|Array}: Glob pattern(s) or file path(s) to match against.options {Object}: Options to pass to micromatch. Note that if you want to start in a different directory than the current working directory, specify a cwd property here.returns {String}: Returns the first matching file.MIT
FAQs
Find the first file matching a given pattern in the current directory or the nearest ancestor directory.
The npm package @kesplus/findup-sync receives a total of 23 weekly downloads. As such, @kesplus/findup-sync popularity was classified as not popular.
We found that @kesplus/findup-sync demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.