The @shared/module-allotments package is now available and replaces the ModuleAllotments Angular module. The service exposes multiple functions to get user and team module allotments. The auth context is a huge step toward getting off of Angular as most code today, Angular or not, relies on Devise. All non-Angular code should use the auth context service instead of Devise from now on.
See the package README for documentation and examples.
The auth context service is written in Typescript and can be used in JavaScript and Typescript code. New code should use this service and any existing non-Angular code should be refactored to use this service as well. Existing Angular code referencing the ModuleAllotments module can be left as-is since the module uses this service under the hood.