nodejs / full-icu-npm

convenience loader for 'small-icu' node builds
https://nodejs.org/api/intl.html#intl_providing_icu_data_at_runtime
Other
152 stars 31 forks source link

The environment variable 'NODE_ICU_DATA' is not processed correctly #12

Closed luochen1990 closed 7 years ago

luochen1990 commented 7 years ago

When console.log(require("full-icu").datPath()), the environment variable 'NODE_ICU_DATA' seems not considered.

srl295 commented 7 years ago

@luochen1990 this function gives the data path of the full-icu installed data. It doesn't know the data path that Node uses.

srl295 commented 7 years ago

closing this, please reopen if needed.