aseemk / requireDir

Node.js helper to require() directories.
MIT License
484 stars 60 forks source link

Support for ES2015 Map #36

Closed jamesref closed 6 years ago

jamesref commented 8 years ago

I think it could be helpful to allow returning ES2015 Map instead of a plain object. Maps are easier to iterate.

aseemk commented 7 years ago

Hi there,

I'm sorry I haven't been timely in responding to these issues and PRs.

If you're interested in taking over the maintainer role for this project, please let me know.

More details: https://github.com/aseemk/requireDir/pull/31#issuecomment-255744987

Cheers, Aseem

yocontra commented 6 years ago

Don't think we want to add this feature, more people are comfortable with plain objects. You can convert the object to a Map easily if you'd like this functionality.