
Product
Introducing Rust Support in Socket
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.
@types/extenso
Advanced tools
TypeScript definitions for extenso
npm install --save @types/extenso
This package contains type definitions for extenso (https://github.com/theuves/extenso.js#readme).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/extenso.
declare namespace Extenso {
interface BaseOptions {
negative?: "formal" | "informal" | undefined;
locale?: "br" | "pt" | undefined;
scale?: "short" | "long" | undefined;
}
interface NumberModeOptions extends BaseOptions {
mode?: "number" | undefined;
number?: {
gender?: "m" | "f" | undefined;
decimal?: "formal" | "informal" | undefined;
} | undefined;
}
interface CurrencyModeOptions extends BaseOptions {
mode: "currency";
currency?: {
type?: "BRL" | "EUR" | undefined;
} | undefined;
}
type Options = NumberModeOptions | CurrencyModeOptions;
}
declare function extenso(number: number | string, options?: Extenso.Options): string;
export = extenso;
These definitions were written by .
FAQs
TypeScript definitions for extenso
The npm package @types/extenso receives a total of 1,326 weekly downloads. As such, @types/extenso popularity was classified as popular.
We found that @types/extenso demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.
Product
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.