TylorS / stream-conversions

Convert between different stream implementations
MIT License
31 stars 2 forks source link

Aliases to match npm package name #2

Open staltz opened 8 years ago

staltz commented 8 years ago

The aliases/keys/strings could match the npm names, like baconjs is the npm package name.

TylorS commented 8 years ago

Sure, I guess that would make sense, I could see that being very useful. Itd be possible to allow an init() type function to dynamically build and import the convert object with only the needed libraries.

Is that the sort of thing you're looking to do with it?

staltz commented 8 years ago

I didn't look that far, I just thought bacon => baconjs would be a good replacement because people might get confused/annoyed with import Bacon from 'baconjs' but convert.rx.to.bacon.

TylorS commented 8 years ago

:+1: