Add package.json#exports?
Open
Beginner friendly
- Dominant language
- JavaScript
- Stars
- 347
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
I'm looking into lru-cache alternatives, and I noticed that this package has an ESM build but Node.js uses the CJS one because there is no `package.json#exports`.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with package.json and inspect the existing ESM and CommonJS entry points. Add the package.json exports configuration so Node.js can select the intended module build, then verify that both module formats still resolve correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 76/100