adonisjs-enums

Community

Type-safe string enums for AdonisJS.

Authoromakei
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Standardize and type-safely represent finite value sets across AdonisJS projects.

Core Features & Use Cases

  • String-backed enums for models, validators, and data transfer objects
  • Labels, metadata, and domain behaviour attached to enum values
  • Seamless usage in Lucid migrations, VineJS validators, and DTOs

Quick Start

Create a new app/enums/order_status.ts enum and start using OrderStatus across models and validators.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: adonisjs-enums
Download link: https://github.com/omakei/adonisjs-architecture-skill/archive/main.zip#adonisjs-enums

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.