Skip to content

Feature request: exposing more ICU functionality or data? #13550

@domenic

Description

@domenic

Looking over a pull request like jsdom/tr46#11, which pulls in lots of Unicode data tables, and comparing it to Node.js's WHATWG URL implementation which apparently is just able to delegate to ICU, I was struck with the question of why more ICU data and functionality isn't exposed directly to JS? That would allow us to implement tr46.js without pulling in such data tables, or possibly just eliminate it entirely.

I imagine some of this might be work for ECMA-402, although my understanding is they're still figuring out whether they want to take an ICU dependency. But in the meantime Node.js already has all this data in the binary, from what I understand... any thoughts on exposing it to JS?

/cc @littledan @TimothyGu @jasnell @Sebmaster @srl295

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestIssues that request new features to be added to Node.js.i18n-apiIssues and PRs related to the i18n implementation.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions