0.0.1-alpha.8 • Published 1 year ago

@nestjs-line/notify v0.0.1-alpha.8

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

About

This package uses the best of the NodeJS world under the hood. Nest.js is a progressive framework for creating well-architectured applications. This module provides fast and easy way for interacting with LINE Notify API and deep integration with your NestJS application.

Features

  • Simple. Flexible. Easy to use.
  • Ability to create custom decorators.
  • Full support of NestJS guards, interceptors, filters and pipes!

For questions and support please use the Issues.

Installation

Node.js 16.6.0 or newer is required.

$ npm install @nestjs-line/notify

Usage

Once the installation process is complete, we can import the LineNotifyModule into the root AppModule:

import { Module } from '@nestjs/common';
import { LineNotifyModule } from '@nestjs-line/notify';
@Module({
  imports: [
    LineNotifyModule.forRoot({
      clientId: 'your-client-id',
      clientSecret: 'your-client-secret',
      redirectUrl: 'your-redirect-url',
    }),
  ],
  providers: [],
})
export class AppModule {}