Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on May 17, 2024 via pnpm

findup-sync 5.0.0

Find the first file matching a given pattern in the current directory or the nearest ancestor directory.
Package summary
Share
0
issues
2
licenses
17
MIT
3
ISC
Package created
1 Nov 2012
Version published
31 Oct 2021
Maintainers
4
Total deps
20
Direct deps
4
License
MIT

Issues

0
This package has no issues

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
17 Packages, Including:
braces@3.0.2
detect-file@1.0.0
expand-tilde@2.0.2
fill-range@7.0.1
findup-sync@5.0.0
global-modules@1.0.0
global-prefix@1.0.2
homedir-polyfill@1.0.3
is-extglob@2.1.1
is-glob@4.0.3
is-number@7.0.0
is-windows@1.0.2
micromatch@4.0.5
parse-passwd@1.0.0
picomatch@2.3.1
resolve-dir@1.0.1
to-regex-range@5.0.1

ISC License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
Cannot
hold-liable
Must
include-copyright
include-license
3 Packages, Including:
ini@1.3.8
isexe@2.0.0
which@1.3.1
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

4
All Dependencies CSV
β“˜ This is a list of findup-sync 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
detect-file1.0.03.33 kBMIT
prod
is-glob4.0.34.16 kBMIT
prod
micromatch4.0.514.09 kBMIT
prod
resolve-dir1.0.12.5 kBMIT
prod

Visualizations

Frequently Asked Questions

What does findup-sync do?

Findup-sync is a useful package in npm that helps users find the first file matching a given pattern. It either looks up in the current working directory or any nearest parent directories. This functionality is achieved through pattern matching with micromatch, a globbing library for node.js. All matching-related issues should be reported on the micromatch's repository.

How do you use findup-sync?

Findup-sync is used through a JavaScript interface after installing it from npm. After requiring ('findup-sync') in your JavaScript file, you can pass your file pattern or patterns to the findup function. The function also accepts additional micromatch options. Here are some example usage scenarios:

// Import Findup-sync
var findup = require('findup-sync');

// Look for a file matching the pattern in the current working directory
var filepath1 = findup('{a,b}*.txt');

// Look for a file matching the pattern in a specified directory, ignoring case sensitivity
var filepath2 = findup('{a,b}*.txt', {cwd: '/some/path', nocase: true});

In these examples, '{a,b}*.txt' is the file pattern (this would match any .txt files starting with 'a' or 'b'), cwd specifies a different directory than the current one to start the search from, and nocase set to true makes the search case-insensitive.

Where are the findup-sync docs?

The best source for Findup-sync's documentation is on its GitHub page, git+https://github.com/gulpjs/findup-sync.git, and directly on the npm website. These sources provide detailed information on installing and using the package, options that it accepts for operation, as well as troubleshooting guidance. The Usage, API section in the readme file on the GitHub repository gives a concise summary of the package's functionality and its interface.