# @types/i18next-node-fs-backend

> TypeScript definitions for i18next-node-fs-backend

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

## Install

```sh
npm install @types/i18next-node-fs-backend
pnpm add @types/i18next-node-fs-backend
yarn add @types/i18next-node-fs-backend
bun add @types/i18next-node-fs-backend
```

## 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.1.5 |
| Published | 2023-11-07 |
| First published | 2016-05-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 6.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51446 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/i18next-node-fs-backend
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/i18next-node-fs-backend
- npm.io page: https://npm.io/package/@types/i18next-node-fs-backend

## Dependencies (1)

- [i18next](https://npm.io/package/i18next.md) >=17.0.11

## Recent versions

- 2.1.5 (latest) — 2023-11-07
- 2.1.2 (ts4.3) — 2023-04-29
- 2.1.1 (ts3.6) — 2021-07-08
- 2.1.0 (ts2.4) — 2019-08-19
- 0.0.29 (ts2.0) — 2017-07-17
- 2.1.4 — 2023-10-18
- 2.1.3 — 2023-10-18
- 0.0.30 — 2018-09-08
- 0.0.28 — 2016-09-19
- 0.0.27 — 2016-07-14
- 0.0.26-alpha — 2016-07-08
- 0.0.25-alpha — 2016-07-04
- 0.0.24-alpha — 2016-07-02
- 0.0.23-alpha — 2016-07-01
- 0.0.22-alpha — 2016-07-01
- … 4 more at https://npm.io/package/@types/i18next-node-fs-backend/versions

## README

# Installation
> `npm install --save @types/i18next-node-fs-backend`

# Summary
This package contains type definitions for i18next-node-fs-backend (https://github.com/i18next/i18next-node-fs-backend).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/i18next-node-fs-backend.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/i18next-node-fs-backend/index.d.ts)
````ts
declare namespace I18next {
    interface I18nextOptions extends i18nextNodeFsBackEnd.I18nextOptions {}
}

declare namespace i18nextNodeFsBackEnd {
    /**
     * @summary Options for "i18next-node-fs-backend".
     * @interface
     */
    interface i18nextNodeFsBackEndOptions {
        /**
         * @summary Path where resources get loaded from.
         */
        loadPath: string;

        /**
         * @summary Path to post missing resources
         */
        addPath: string;

        /**
         * @summary jsonIndent to use when storing json files
         */
        jsonIndent: number;

        /**
         * @summary custom parser
         */
        parse?: ((data: any) => any) | undefined;
    }

    /**
     * @summary Options for "i18next".
     * @interface
     */
    interface I18nextOptions {
        backend?: i18nextNodeFsBackEndOptions | undefined;
    }
}

declare module "i18next-node-fs-backend" {
    import * as i18next from "i18next";

    class Backend implements i18next.BackendModule<i18nextNodeFsBackEnd.i18nextNodeFsBackEndOptions> {
        type: "backend";
        constructor(services?: any, options?: i18nextNodeFsBackEnd.i18nextNodeFsBackEndOptions);
        init(
            services: i18next.Services,
            backendOptions?: i18nextNodeFsBackEnd.i18nextNodeFsBackEndOptions,
            i18nextOptions?: i18next.InitOptions,
        ): void;
        read(language: string, namespace: string, callback: i18next.ReadCallback): void;
        create(languages: string[], namespace: string, key: string, fallbackValue: string): void;
    }

    const module: typeof Backend;
    export = module;
}

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 03:09:37 GMT
 * Dependencies: [i18next](https://npmjs.com/package/i18next)

# Credits
These definitions were written by [Cyril Schumacher](https://github.com/cyrilschumacher), and [Silas Rech](https://github.com/lenovouser).

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