# @types/findup-sync

> TypeScript definitions for findup-sync

Latest version **4.0.5** (published 2024-03-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/findup-sync
pnpm add @types/findup-sync
yarn add @types/findup-sync
bun add @types/findup-sync
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 4.0.5 |
| Published | 2024-03-25 |
| First published | 2016-05-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51445 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/findup-sync
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/findup-sync
- npm.io page: https://npm.io/package/@types/findup-sync

## Dependencies (1)

- [@types/micromatch](https://npm.io/package/@types/micromatch.md) ^4.0.0

## Recent versions

- 4.0.5 (latest) — 2024-03-25
- 4.0.4 (ts4.5) — 2023-11-07
- 4.0.2 (ts3.8) — 2021-12-16
- 4.0.1 (ts3.6) — 2021-06-08
- 4.0.0 (ts3.5) — 2021-05-17
- 2.0.2 (ts2.2) — 2019-06-19
- 0.3.29 (ts2.0) — 2016-09-19
- 4.0.3 — 2023-10-18
- 2.0.1 — 2019-02-13
- 2.0.0 — 2018-12-18
- 0.3.30 — 2018-12-18
- 0.3.28 — 2016-07-14
- 0.3.27-alpha — 2016-07-08
- 0.3.26-alpha — 2016-07-04
- 0.3.25-alpha — 2016-07-02
- … 6 more at https://npm.io/package/@types/findup-sync/versions

## README

# Installation
> `npm install --save @types/findup-sync`

# Summary
This package contains type definitions for findup-sync (https://github.com/gulpjs/findup-sync).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/findup-sync.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/findup-sync/index.d.ts)
````ts
import micromatch = require("micromatch");

export = findupSync;

/**
 * Find the first file matching a given pattern in the current directory or the nearest ancestor directory.
 *
 * @param patternOrPatterns Glob pattern(s) or file path(s) to match against.
 * @param micromatchOptions Options to pass to [micromatch](https://github.com/jonschlinkert/micromatch).
 * Note that if you want to start in a different directory than the current working directory, specify a `cwd` property here.
 * @returns Returns the first matching file.
 */
declare function findupSync(
    patternOrPatterns: string[] | string,
    micromatchOptions?: micromatch.Options,
): string | null;

````

### Additional Details
 * Last updated: Mon, 25 Mar 2024 14:06:55 GMT
 * Dependencies: [@types/micromatch](https://npmjs.com/package/@types/micromatch)

# Credits
These definitions were written by [Bart van der Schoor](https://github.com/Bartvds), [Nathan Brown](https://github.com/ngbrown), [BendingBender](https://github.com/BendingBender), and [Kotaro Sugawara](https://github.com/kotarella1110).

---
_Source: https://npm.io/package/@types/findup-sync · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
