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

    Function runtimeCapabilities

    • Reports the Intl features available to the installed library runtime.

      Import as runtimeCapabilities from @neutrium/formatter/diagnostics. The first call probes features and caches a frozen snapshot. Load polyfills before importing the library or querying capabilities. These feature flags do not validate a particular locale or specification; use extensions!Formatter.resolve or extensions-parse!Parser.resolve for that.

      Returns RuntimeCapabilities

      The cached, immutable feature snapshot.

      import { runtimeCapabilities } from "@neutrium/formatter/diagnostics";

      const runtime = runtimeCapabilities();
      console.log(JSON.stringify({ intl: runtime }, null, 2));
      // Attach the report when investigating output differences between environments.