2.4.0 • Published 3 months ago

@zthun/webigail-nest v2.4.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

Webigail Nest

NestJs already comes with an http module built in, so it is recommended to just use that one. If you are using webigail-http and you want to inject that service into your nest project, then this package comes with the module that will do that for you.

Build Status

CircleCI

Usage

Webigail is built in TypeScript and it exports both ESM and CJS modules.

# NPM
npm install @zthun/webigail-nest
# Yarn
yarn add @zthun/webigail-nest
// product-module.ts
import { ZHttpModule } from '@zthun/webigail-nest';

@Module(
  imports: [ZHttpModule],
  providers: [ProductService],
  exports: [ProductService]
)
export class ProductModule {}

// product-service.ts
import { IZHttpService } from '@zthun/webigail-http';

@Injectable()
export class ProductService {
  public constructor(@Inject(ZHttpServiceToken) private _http: IZHttpService) {}
}
2.4.0

3 months ago

2.3.0

3 months ago

2.2.0

3 months ago

2.1.1

3 months ago

2.1.0

3 months ago

2.0.1

5 months ago

2.0.0

5 months ago

1.2.0

6 months ago

1.1.0

9 months ago

1.0.2

9 months ago

1.0.1

9 months ago

0.2.0

9 months ago