Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@line/liff

Package Overview
Dependencies
Maintainers
5
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@line/liff

LINE Front-end Framework (LIFF) is a platform for web apps provided by LINE. The web apps running on this platform are called LIFF apps.

  • 2.2.1
  • npm
  • Socket score

Version published
Weekly downloads
27K
increased by51.75%
Maintainers
5
Weekly downloads
 
Created
Source

LINE Front-end Framework

LINE Front-end Framework (LIFF) is a platform for web apps provided by LINE. The web apps running on this platform are called LIFF apps.

LIFF apps can get data from the LINE Platform such as the LINE user ID. The LIFF app can use such data to provide features that utilize user information and send messages on the user's behalf.

Installation

Using npm

$ npm install --save @line/liff

Using yarn

$ yarn add @line/liff

Note: It is the developer's responsibility to use an appropriate SDK version. To keep your SDK version up to date, check the LIFF release notes on a regular basis, and update your local SDK frequently. For more information about LIFF's versioning policy, see LIFF SDK (sdk.js) update policy.

Usage

Include the SDK in your JavaScript or TypeScript files:

import liff from '@line/liff';

liff.init({ liffID: 'myLiffId' });

Type definitions for TypeScript are already included in the @line/liff package

CDN

The LIFF SDK is also available on LINE's CDN.

<script src="https://static.line-scdn.net/liff/edge/versions/2/sdk.js"></script>

See integrating LIFF for more details.

Documentation

See LIFF Document and API Reference.

License

Using LIFF means you agree to the LINE Developers Agreement.

FAQs

Package last updated on 14 Sep 2020

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc