mathiasbynens / mathiasbynens/punycode.js
Importing in node 21
Open
- Dominant language
- JavaScript
- Stars
- 1.7k
- Forks
- 170
- PR merge metrics
- No merged PRs in 30d
Description
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?
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue names no repository file or test. Start by reproducing `import puny from 'punycode/'` under Node 21 and compare the resulting error with the package's userland usage; done means determining the supported module syntax or whether a package change is required.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100