New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

node-line-notify

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-line-notify

3rd Party LineNotify SDK for Node.js

latest
Source
npmnpm
Version
1.0.3
Version published
Maintainers
1
Created
Source

3rd Party LineNotify SDK for Node.js

A light-weight line notify library without dependencies only buit-in library used

Quick Start

const LineNotifier = require("../index");
const linenotify = new LineNotifier(
  "client_id",
  "client_secret",
  "redirect_uri"
);

Get Login url

const url = linenotify.authorize("RandomState");

Get accessToken

linenotify.getAccessToken("code").then((res) => console.log(res));

Send notify function works by pass parameter name from LINE Notify API Document in Notification section as key of object

linenotify.send("AccessToken", { message: "Hello World" });
linenotify.send("AccessToken", {
  message: "Hello World",
  imageFile: "./image.jpg",
});

Keywords

line-notify

FAQs

Package last updated on 18 Apr 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts