Consider using `exports` in package.json
Berkmann18 opened this issue · comments
Is your feature request related to a problem? Please describe.
No.
Describe the solution you'd like
Simple and uniform imports (e.g. import avg from 'lh-avg
+ const avg = require('lh-avg')
) without having to specify main/
or module/
.
Having exports
like on https://github.com/then/is-promise/blob/master/package.json.
Re: then/is-promise#30 (comment)
Describe alternatives you've considered
None yet.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been stale for 14 days so I'm closing it.