cfware / get-package-type

Determine the `package.json#type` which applies to a location.
MIT License
5 stars 3 forks source link

General discussion #6

Open coreyfarrell opened 4 years ago

coreyfarrell commented 4 years ago

I'm hopeful this package eventually becomes a ponyfill for functionality directly provided by a future version of node.js so I think the it's important that general discussion of this package not take over nodejs/node#49446.

coreyfarrell commented 4 years ago

For anyone interested in a usage example https://github.com/istanbuljs/load-nyc-config/pull/14 ~is going to give~ has given nyc the ability to load .js config files from a type: module directory.