Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@types/i18next-node-fs-backend
Advanced tools
TypeScript definitions for i18next-node-fs-backend
npm install --save @types/i18next-node-fs-backend
This package contains type definitions for i18next-node-fs-backend (https://github.com/i18next/i18next-node-fs-backend).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/i18next-node-fs-backend.
// Type definitions for i18next-node-fs-backend 2.1
// Project: https://github.com/i18next/i18next-node-fs-backend
// Definitions by: Cyril Schumacher <https://github.com/cyrilschumacher>
// Silas Rech <https://github.com/lenovouser>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.4
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;
}
These definitions were written by Cyril Schumacher, and Silas Rech.
FAQs
TypeScript definitions for i18next-node-fs-backend
The npm package @types/i18next-node-fs-backend receives a total of 3,367 weekly downloads. As such, @types/i18next-node-fs-backend popularity was classified as popular.
We found that @types/i18next-node-fs-backend demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.