1.0.9 • Published 9 months ago

create-ijp-archetype v1.0.9

Weekly downloads
-
License
ISC
Repository
-
Last release
9 months ago

create-ts-repository

A CLI tool to generate TypeScript repository pattern files.

Installation

npm install -g create-ts-repository

Usage

create-ts-repository [name/subpath] [folder?]

Examples:

# Membuat repository di folder src/repositories
npx ijp-repository Auth


# membuat repository di folder src/repositories/user
create-ts-repository User/Auth

# membuat Service di folder src/services
npx ijp-service Auth

# membuat Service di folder src/services/user
create-ts-service User/Auth

Output Structure

For command create-ts-repository User/Auth:

src/repositories/
└── user/
    └── authRepository.ts

Generated file content:

export class AuthRepository {}

export default AuthRepository;

License

MIT

1.0.9

9 months ago

1.0.8

9 months ago

1.0.7

9 months ago

1.0.6

9 months ago

1.0.5

9 months ago

1.0.4

9 months ago

1.0.3

9 months ago

1.0.2

9 months ago

1.0.1

9 months ago

1.0.0

9 months ago