0.0.2 • Published 5 years ago

@nestrx/twilio v0.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

TWILIO

The Twilio module api Users and OTP for NestJS framework.

Installation

npm:

npm i @nestrx/twilio

yan

yan add @nestrx/twilio

Configure

app.module.ts

...
@Module({
	...
	imports: [
		...
		HttpModule,
		TwilioModule.forRoot({
			token: 'your_app_token',
		}),
		...
	],
	...
})
...

Usage

your.service.ts

...
@Injectable()
export class YourService {
  constructor(private twilio: TwilioService) {
  }
...