1.0.1 • Published 12 months ago

@xiifain/nest-promptpay-qr v1.0.1

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

Installation

npm i @xiifain/nest-promptpay-qr

Usage

In the desired module file, import PromptpayQRModule in the imports list.

@Module({
  imports: [
    // your other modules
    PromptpayQRModule,
  ],
  providers: [
    // your providers
  ],
  controllers: [
    // your controllers
  ],
})
export class AppModule {}

And inside your service you can use PromptpayQRService

export class AppService {
  constructor(private readonly promptpayQRService: PrompayQRService) {}

  foo() {
    const qrStr = this.promptpayQRService.generate('<your-promptpay-id>', 500);
  }
}
1.0.1

12 months ago

1.0.0

12 months ago

0.0.5

12 months ago

0.0.4

12 months ago

0.0.3

12 months ago

0.0.2

12 months ago

0.0.1

12 months ago