@edx/frontend-enterprise-utils
v9.1.0
Published
Utils and other miscellaneous enterprise things.
Downloads
1,860
Keywords
Readme
@edx/frontend-enterprise-utils
|Build Status| |npm_version| |npm_downloads| |license|
This package exports useful React hooks, utility functions, and constants for use in other libraries and micro-frontends, including checking whether an authenticated user is an enterprise user based on their JWT role(s), or fetching a user's available Enterprise learner portal links.
.. |Build Status| image:: https://github.com/openedx/frontend-enterprise/actions/workflows/release.yml/badge.svg :target: https://github.com/openedx/frontend-enterprise/actions .. |npm_version| image:: https://img.shields.io/npm/v/@edx/frontend-enterprise-utils.svg :target: @edx/frontend-enterprise-utils .. |npm_downloads| image:: https://img.shields.io/npm/dt/@edx/frontend-enterprise-utils.svg :target: @edx/frontend-enterprise-utils .. |license| image:: https://img.shields.io/npm/l/@edx/frontend-enterprise-utils.svg :target: @edx/frontend-enterprise-utils