@neutrium/formatter - v1.0.1
    Preparing search index...

    Variable numberParserConst

    numberParser: Readonly<ParseCodec<"number", NumberFormatSpec, string>> = ...

    Built-in parser for localized numbers, including scientific and compact notation. Already installed on parse!parser and instances made by parse!createParser. Returns canonical strings. Use a fixed compact exponent to parse shared-scale text.

    import { Parser, numberParser } from "@neutrium/formatter/extensions/parse";

    const numbers = new Parser({ codecs: [numberParser] });
    numbers.parse("1.23M", { kind: "number", notation: "compact" }); // "1230000"