# @types/lowest-common-ancestor

> TypeScript definitions for lowest-common-ancestor

Latest version **2.0.2** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/lowest-common-ancestor
pnpm add @types/lowest-common-ancestor
yarn add @types/lowest-common-ancestor
bun add @types/lowest-common-ancestor
```

## 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 | 2.0.2 |
| Published | 2023-11-07 |
| First published | 2021-08-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51446 |
| Maintainers | types |

## Links

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

## Recent versions

- 2.0.2 (latest) — 2023-11-07
- 2.0.0 (ts3.7) — 2021-08-29
- 2.0.1 — 2023-10-18

## README

# Installation
> `npm install --save @types/lowest-common-ancestor`

# Summary
This package contains type definitions for lowest-common-ancestor (https://gitlab.com/sebdeckers/lowest-common-ancestor#README).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lowest-common-ancestor.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lowest-common-ancestor/index.d.ts)
````ts
/**
 * Finds the deepest shared file path.
 * The OS-dependent directory separator (e.g. `/` or `\`) is respected.
 *
 * @param filepaths Multiple relative or absolute file system paths.
 */
export function lowestCommonAncestor(...filepaths: string[]): string;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
 * Dependencies: none

# Credits
These definitions were written by [Cameron Hunter](https://github.com/me).

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