Package Exports
- @nestjs-line/notify
- @nestjs-line/notify/src/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@nestjs-line/notify) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
A module for creating LINE bots using NestJS, based on LINE Messaging API.
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/notifyUsage
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 {}