as-enum
is a simple enumeration management tool designed to help frontend developers easily maintain enum information.
-
☕ Supports rapid generation of
Select
componentoptions
data source for UI libraries.- Default option property names are based on Ant Design (supports configuring property aliases).
-
⚙️ Allows adding custom additional information to each enum item.
-
😄 Supports quickly retrieving enum-related information such as
key
,value
,label
, etc. -
✨ Supports enum values of any type, not limited to string or numeric enums.
-
🎉 Provides excellent type hints in TypeScript projects.