# @types/fluent-langneg

> TypeScript definitions for fluent-langneg

Latest version **0.1.6** (published 2023-11-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/fluent-langneg
pnpm add @types/fluent-langneg
yarn add @types/fluent-langneg
bun add @types/fluent-langneg
```

## 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; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.1.6 |
| Published | 2023-11-21 |
| First published | 2019-01-24 |
| 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 | 51465 |
| Maintainers | types |

## Links

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

## Recent versions

- 0.1.6 (latest) — 2023-11-21
- 0.1.2 (ts3.7) — 2021-07-08
- 0.1.1 (ts3.5) — 2019-02-13
- 0.1.5 — 2023-11-07
- 0.1.4 — 2023-10-18
- 0.1.3 — 2023-09-14
- 0.1.0 — 2019-01-24

## README

# Installation
> `npm install --save @types/fluent-langneg`

# Summary
This package contains type definitions for fluent-langneg (http://projectfluent.io).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/fluent-langneg.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/fluent-langneg/index.d.ts)
````ts
export interface LanguageNegotiationOptions {
    strategy?: "filtering" | "matching" | "lookup" | undefined;
    defaultLocale?: string | undefined;
}

export function negotiateLanguages(
    requestedLocales: readonly string[],
    availableLocales: readonly string[],
    options?: LanguageNegotiationOptions,
): string[];

````

### Additional Details
 * Last updated: Mon, 20 Nov 2023 23:36:24 GMT
 * Dependencies: none

# Credits
These definitions were written by [Huy Nguyen](https://github.com/huy-nguyen).

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