@nestjs-line/messaging
TypeScript icon, indicating that this package has built-in type declarations

0.0.4-alpha.16 • Public • Published

Nest Logo

A module for creating LINE bots using NestJS, based on LINE Messaging API.

NPM Version NPM License NPM Downloads Last commit

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 creating LINE bots 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/messaging @line/bot-sdk

Usage

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

import { Module } from '@nestjs/common';
import { LineMessagingModule } from '@nestjs-line/messaging';
@Module({
  imports: [
    LineMessagingModule.forRoot({
      channelSecret: 'secret',
      channelAccessToken: 'access_token',
    }),
  ],
  providers: [],
})
export class AppModule {}

Package Sidebar

Install

npm i @nestjs-line/messaging

Weekly Downloads

18

Version

0.0.4-alpha.16

License

MIT

Unpacked Size

51 kB

Total Files

92

Last publish

Collaborators

  • wolffparkinson