Select2 19867 js wrapper

I'm curious how generic others think this wrapper should be.

Select2 has a rather specific API regarding AJAX endpoints and the data expected by them. Presumably similar libraries have their own opinionated internals which may differ, so exposing a generic Select2 wrapper doesn't sound like a good option to me. Rather, a one-off per use case - here, offering $().wpUsersDropdown().