1.0.9 • Published 10 months ago

create-ijp-archetype v1.0.9

Weekly downloads
-
License
ISC
Repository
-
Last release
10 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

10 months ago

1.0.8

10 months ago

1.0.7

10 months ago

1.0.6

10 months ago

1.0.5

10 months ago

1.0.4

10 months ago

1.0.3

10 months ago

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago