{"_id":"@angexxl/hexamod","_rev":"6-31e4acdb8a06924ee550bf34e8d9d6ff","name":"@angexxl/hexamod","dist-tags":{"latest":"2.0.3"},"versions":{"1.0.1":{"name":"@angexxl/hexamod","version":"1.0.1","keywords":["java","hexagonal","cli","generator","spring"],"author":{"name":"Angel"},"license":"MIT","_id":"@angexxl/hexamod@1.0.1","maintainers":[{"name":"angexxl","email":"santacruza2000@gmail.com"}],"homepage":"https://github.com/AngelSt7/create-hexagonal-module#readme","bugs":{"url":"https://github.com/AngelSt7/create-hexagonal-module/issues"},"bin":{"hexamod":"index.js"},"dist":{"shasum":"766ed899447999c13d43f7d5c25bbbc818b3564b","tarball":"https://registry.npmjs.org/@angexxl/hexamod/-/hexamod-1.0.1.tgz","fileCount":27,"integrity":"sha512-HuViN7waSD94yulz50jNR9kouGNPzBdyWAr8N8/yROCP4BThopGY45RXuvWu4ZZXN7r6vRK028A0AqCxlICydw==","signatures":[{"sig":"MEYCIQCmLeME3TRgjOzWQNXJDYX8MthF7VRMDqiLNEsTd3V8cgIhAJPyHfMgdsFs89Uk92bP2YOjrhg9JQleCcy02PDCOz9K","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21690},"type":"module","gitHead":"80a92322a0b72950def5bd5e98b51ba8e141ebdc","_npmUser":{"name":"angexxl","email":"santacruza2000@gmail.com"},"repository":{"url":"git+https://github.com/AngelSt7/create-hexagonal-module.git","type":"git"},"_npmVersion":"10.9.3","description":"CLI para generar módulos Java con arquitectura hexagonal","directories":{},"_nodeVersion":"22.20.0","dependencies":{"@inquirer/prompts":"^8.0.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/hexamod_1.0.1_1763762266275_0.9395872536370322","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@angexxl/hexamod","version":"1.0.2","keywords":["java","hexagonal","cli","generator","spring"],"author":{"name":"Angel"},"license":"MIT","_id":"@angexxl/hexamod@1.0.2","maintainers":[{"name":"angexxl","email":"santacruza2000@gmail.com"}],"homepage":"https://github.com/AngelSt7/create-hexagonal-module#readme","bugs":{"url":"https://github.com/AngelSt7/create-hexagonal-module/issues"},"bin":{"hexamod":"index.js"},"dist":{"shasum":"674fc905379ded07c5648e85650f2805db0cf464","tarball":"https://registry.npmjs.org/@angexxl/hexamod/-/hexamod-1.0.2.tgz","fileCount":28,"integrity":"sha512-XDuhy1DZ4gwS7BQV63LslPNxXIYwssngp0Zr9b7gsWc9oPV93fmynshmtnQ+IJQhTFLy8B0BXq4uONu5Ux8Eyg==","signatures":[{"sig":"MEYCIQCpByDB/ezuTFGcv4Tk3YJt3BArApt3FKhqXkqVyk0kSwIhAMtCNAclgwHiqwhQt0Rq7OKbaU2neOXFlXkKmHQC3iSN","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23638},"type":"module","gitHead":"80a92322a0b72950def5bd5e98b51ba8e141ebdc","_npmUser":{"name":"angexxl","email":"santacruza2000@gmail.com"},"repository":{"url":"git+https://github.com/AngelSt7/create-hexagonal-module.git","type":"git"},"_npmVersion":"10.9.3","description":"CLI para generar módulos Java con arquitectura hexagonal","directories":{},"_nodeVersion":"22.20.0","dependencies":{"@inquirer/prompts":"^8.0.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/hexamod_1.0.2_1763762481290_0.09992672054719098","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@angexxl/hexamod","version":"1.0.3","keywords":["java","hexagonal","cli","generator","spring"],"author":{"name":"Angel"},"license":"MIT","_id":"@angexxl/hexamod@1.0.3","maintainers":[{"name":"angexxl","email":"santacruza2000@gmail.com"}],"homepage":"https://github.com/AngelSt7/create-hexagonal-module#readme","bugs":{"url":"https://github.com/AngelSt7/create-hexagonal-module/issues"},"bin":{"hexamod":"index.js"},"dist":{"shasum":"eaa33b58ce8449e99f35854e097444406832d0e0","tarball":"https://registry.npmjs.org/@angexxl/hexamod/-/hexamod-1.0.3.tgz","fileCount":29,"integrity":"sha512-WgqDk4UdQ9Nzptrb+kqf8tpPY58bjdAD92Nh/FN1Du2OBe+3k/vp/6GLlfbH9flVRLoqoSjfxKl6VHl0euSvVQ==","signatures":[{"sig":"MEUCIQCnVNYRAWv1//y5IJ5Fop3vqE5wUF2sMVXK/tCTTckxBAIgU//pM+Bts7Hwjjzmac4pzOz1ZchLp6z+IVO/a+Uv2Tw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24602},"type":"module","gitHead":"9e0ff9056344157b06b94e926f705623fa366871","_npmUser":{"name":"angexxl","email":"santacruza2000@gmail.com"},"repository":{"url":"git+https://github.com/AngelSt7/create-hexagonal-module.git","type":"git"},"_npmVersion":"10.9.3","description":"CLI para generar módulos Java con arquitectura hexagonal","directories":{},"_nodeVersion":"22.20.0","dependencies":{"@inquirer/prompts":"^8.0.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/hexamod_1.0.3_1763763415349_0.6597942113817215","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"@angexxl/hexamod","version":"2.0.1","keywords":["java","hexagonal","architecture","cli","generator","spring-boot","ddd"],"author":{"name":"Angel"},"license":"MIT","_id":"@angexxl/hexamod@2.0.1","maintainers":[{"name":"angexxl","email":"santacruza2000@gmail.com"}],"homepage":"https://github.com/AngelSt7/create-hexagonal-module#readme","bugs":{"url":"https://github.com/AngelSt7/create-hexagonal-module/issues"},"bin":{"hexamod":"index.js"},"dist":{"shasum":"8bc106922c71a96af964902882579f9695671fed","tarball":"https://registry.npmjs.org/@angexxl/hexamod/-/hexamod-2.0.1.tgz","fileCount":32,"integrity":"sha512-6opdxev9lmAm/1zcb50rv51Y+l1eZwUhpZl2EWUaHa6gwLqcRIuT2siD0v9VxYjpfGZ/e9ptRHeHR/aQVckDhw==","signatures":[{"sig":"MEUCIA9Qq3OkvQSK/kYa5MH+r3lE/gw+qxktXyobQe4FOGkKAiEAyjwWTIdK++w5LYiLHMEpUGpWyCEovRXYb+z4RZm7gVg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30096},"type":"module","gitHead":"4b40e9c016796a4e7a1ce95bf3c1e1e3f45d0721","_npmUser":{"name":"angexxl","email":"santacruza2000@gmail.com"},"repository":{"url":"git+https://github.com/AngelSt7/create-hexagonal-module.git","type":"git"},"_npmVersion":"10.9.3","description":"CLI to generate Java Hexagonal Architecture modules for Spring Boot in seconds.","directories":{},"_nodeVersion":"22.20.0","dependencies":{"@inquirer/prompts":"^8.0.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/hexamod_2.0.1_1767659103463_0.05194315866185417","host":"s3://npm-registry-packages-npm-production"}},"2.0.2":{"name":"@angexxl/hexamod","version":"2.0.2","keywords":["java","hexagonal","architecture","cli","generator","spring-boot","ddd"],"author":{"name":"Angel"},"license":"MIT","_id":"@angexxl/hexamod@2.0.2","maintainers":[{"name":"angexxl","email":"santacruza2000@gmail.com"}],"homepage":"https://github.com/AngelSt7/create-hexagonal-module#readme","bugs":{"url":"https://github.com/AngelSt7/create-hexagonal-module/issues"},"bin":{"hexamod":"index.js"},"dist":{"shasum":"240565a5b3317578d0e04b07668c1b8ed5db6642","tarball":"https://registry.npmjs.org/@angexxl/hexamod/-/hexamod-2.0.2.tgz","fileCount":32,"integrity":"sha512-R3AokDru8/jSGejVhxB3t3/+IVR1Kw6VnsgsM9Pj97AINsMLl8dTJmWXHQiDvU3dTbQhGlD2z1HNIb/z7/xy6w==","signatures":[{"sig":"MEUCIQCeSvNEf6xkp1zCQCvFOLC14RZqKWxbr83jMowD4m1YVwIgIfFPqjB522EKab73nD/K9TweIjLVBrChPQAMlylrmg0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30094},"type":"module","gitHead":"4b40e9c016796a4e7a1ce95bf3c1e1e3f45d0721","_npmUser":{"name":"angexxl","email":"santacruza2000@gmail.com"},"repository":{"url":"git+https://github.com/AngelSt7/create-hexagonal-module.git","type":"git"},"_npmVersion":"10.9.3","description":"CLI to generate Java Hexagonal Architecture modules for Spring Boot in seconds.","directories":{},"_nodeVersion":"22.20.0","dependencies":{"@inquirer/prompts":"^8.0.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/hexamod_2.0.2_1767659636155_0.9031929470170859","host":"s3://npm-registry-packages-npm-production"}},"2.0.3":{"name":"@angexxl/hexamod","version":"2.0.3","description":"CLI to generate Java Hexagonal Architecture modules for Spring Boot in seconds.","bin":{"hexamod":"index.js"},"type":"module","keywords":["java","hexagonal","architecture","cli","generator","spring-boot","ddd"],"author":{"name":"Angel"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/AngelSt7/create-hexagonal-module.git"},"dependencies":{"@inquirer/prompts":"^8.0.1"},"_id":"@angexxl/hexamod@2.0.3","gitHead":"4b40e9c016796a4e7a1ce95bf3c1e1e3f45d0721","bugs":{"url":"https://github.com/AngelSt7/create-hexagonal-module/issues"},"homepage":"https://github.com/AngelSt7/create-hexagonal-module#readme","_nodeVersion":"22.20.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-QLJF+sjcl3OKUbZeChNa4ySThjGnxqeIqFbYcgXnvtskl+QOcUsr3CXhqbCSP8xa4HW1esaoSuJe/6hY/ItIow==","shasum":"0d6f608f4b30342d1b6c192e3a81645db5ed58de","tarball":"https://registry.npmjs.org/@angexxl/hexamod/-/hexamod-2.0.3.tgz","fileCount":32,"unpackedSize":30093,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCIEGai4JTr9anli+0+bwQSjeYuV2iV45VHM/2fLv5bygIhAJycO85ggDQdiVEEmVrX85cbpoxmrrCBi2mp8SOz4fzH"}]},"_npmUser":{"name":"angexxl","email":"santacruza2000@gmail.com"},"directories":{},"maintainers":[{"name":"angexxl","email":"santacruza2000@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/hexamod_2.0.3_1767659792790_0.6727590548311011"},"_hasShrinkwrap":false}},"time":{"created":"2025-11-21T21:57:46.214Z","modified":"2026-01-06T00:36:33.185Z","1.0.1":"2025-11-21T21:57:46.483Z","1.0.2":"2025-11-21T22:01:21.486Z","1.0.3":"2025-11-21T22:16:55.579Z","2.0.1":"2026-01-06T00:25:03.603Z","2.0.2":"2026-01-06T00:33:56.295Z","2.0.3":"2026-01-06T00:36:32.945Z"},"bugs":{"url":"https://github.com/AngelSt7/create-hexagonal-module/issues"},"author":{"name":"Angel"},"license":"MIT","homepage":"https://github.com/AngelSt7/create-hexagonal-module#readme","keywords":["java","hexagonal","architecture","cli","generator","spring-boot","ddd"],"repository":{"type":"git","url":"git+https://github.com/AngelSt7/create-hexagonal-module.git"},"description":"CLI to generate Java Hexagonal Architecture modules for Spring Boot in seconds.","maintainers":[{"name":"angexxl","email":"santacruza2000@gmail.com"}],"readme":"# @angexxl/hexamod\n\nA powerful CLI to generate **Java Hexagonal Architecture** modules for **Spring Boot** projects in seconds.\n\nDesigned to follow Domain-Driven Design (DDD) best practices, including separation of concerns, domain rules, factories, and immutable models.\n\n## Installation\n\nRun directly with `npx`:\n\n```bash\nnpx @angexxl/hexamod\n```\n\nOr install globally:\n\n```bash\nnpm install -g @angexxl/hexamod\n```\n\n## Usage\n\nNavigate to your project folder and run:\n\n```bash\nhexamod\n```\n\nThe CLI will ask for:\n\n1. **Base Path** - e.g., `src/main/java/com/company/project` (It saves this path for future use).\n2. **Module Name** - e.g., `user`, `order`, `payment`.\n\n## Generated Structure\n\nThe tool creates a full \"Vertical Slice\" module following strict Hexagonal Architecture layers:\n\n```text\nmoduleName/\n├── application/\n│   ├── dto/\n│   │   ├── input/\n│   │   │   ├── CreateModuleDto.java\n│   │   │   └── UpdateModuleDto.java\n│   │   └── output/\n│   │       └── ModuleResponseDto.java\n│   ├── mappers/\n│   │   ├── input/\n│   │   │   └── ModuleInputMapper.java\n│   │   └── output/\n│   │       └── ModuleOutputMapper.java\n│   └── useCases/\n│       └── CreateModuleUseCase.java\n├── domain/\n│   ├── enums/\n│   │   └── ModuleEnum.java\n│   ├── factories/\n│   │   └── ModuleFactory.java      <-- For complex object creation\n│   ├── model/\n│   │   └── ModuleModel.java        <-- Immutable Domain Model (@Builder toBuilder=true)\n│   ├── ports/\n│   │   ├── repository/\n│   │   │   └── ModuleRepositoryPort.java\n│   │   └── service/\n│   ├── rules/\n│   │   └── ModuleCompletionRules.java <-- Encapsulated Business Rules\n│   └── services/\n│       └── ModuleDomainService.java\n└── infrastructure/\n    ├── persistence/\n    │   ├── entities/\n    │   │   └── ModuleEntity.java\n    │   ├── mappers/\n    │   │   └── ModuleEntityMapper.java\n    │   ├── projections/\n    │   │   └── ModuleProjection.java\n    │   └── repositories/\n    │       ├── implementation/\n    │       │   └── ModuleRepositoryImpl.java\n    │       └── jpa/\n    │           └── JpaModuleRepository.java\n    └── web/\n        └── controllers/\n            └── ModuleController.java\n```\n\n## Key Features\n\n- **DDD Ready:** Includes folders for `Factories`, `Rules`, and `Domain Services` out of the box.\n- **Immutable Models:** Generates Domain Models using Lombok's `@Builder(toBuilder = true)`.\n- **Persistence Separation:** Clean separation between `JpaRepository`, `RepositoryPort`, and `RepositoryImplementation`.\n- **Smart Configuration:** Remembers your `src/main/java/...` path so you don't have to type it every time.\n\n## Commands\n\n| Command | Description |\n|---------|-------------|\n| `npx @angexxl/hexamod` | Run the generator |\n| `npx @angexxl/hexamod --reset-path` | Clear the saved base path configuration |\n\n## License\n\nMIT","readmeFilename":"README.md"}