This option makes the resulting binary link against the ICU library statically, and includes a subset of ICU data (typically only the English locale) within the node executable.

    Functionalities that only require the ICU library itself, such as [String.prototype.normalize()][] and the [WHATWG URL parser][], are fully supported under small-icu. Features that require ICU locale data in addition, such as [Intl.DateTimeFormat][], generally only work with the English locale:

    1. const january = new Date(9e8);
    2. const english = new Intl.DateTimeFormat('en', { month: 'long' });
    3. const spanish = new Intl.DateTimeFormat('es', { month: 'long' });
    4. console.log(english.format(january));
    5. // Prints "January"
    6. console.log(spanish.format(january));
    7. // Prints "M01" on small-icu
    8. // Should print "enero"

    This mode provides a balance between features and binary size.