Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aliases to match npm package name #2

Open
staltz opened this issue Jan 10, 2016 · 3 comments
Open

Aliases to match npm package name #2

staltz opened this issue Jan 10, 2016 · 3 comments

Comments

@staltz
Copy link

staltz commented Jan 10, 2016

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

@TylorS
Copy link
Owner

TylorS commented Jan 10, 2016

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
Copy link
Author

staltz commented Jan 11, 2016

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
Copy link
Owner

TylorS commented Jan 11, 2016

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants