I'm trying to convert to the userland vs the built-in Punycode but node seems to have tightened the rules. import puny from 'punycode/' generates an ERR_UNSUPPORTED_DIR_IMPORT error. What is the proper module syntax?
I'm trying to convert to the userland vs the built-in Punycode but node seems to have tightened the rules.
import puny from 'punycode/'
generates an ERR_UNSUPPORTED_DIR_IMPORT error. What is the proper module syntax?