Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/S-O-L-A-R/liff-type
Type definition for LINE Frontend Framework
https://github.com/S-O-L-A-R/liff-type
liff line typescript
Last synced: 15 days ago
JSON representation
Type definition for LINE Frontend Framework
- Host: GitHub
- URL: https://github.com/S-O-L-A-R/liff-type
- Owner: S-O-L-A-R
- License: mit
- Archived: true
- Created: 2019-09-08T16:57:57.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-07-03T17:59:01.000Z (over 4 years ago)
- Last Synced: 2024-09-19T02:44:49.386Z (about 2 months ago)
- Topics: liff, line, typescript
- Size: 104 KB
- Stars: 14
- Watchers: 6
- Forks: 10
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# liff-type (deprecated)
[![npm version](https://badge.fury.io/js/liff-type.svg)](https://badge.fury.io/js/liff-type) [![TypeScript](https://badges.frapsoft.com/typescript/code/typescript.svg?v=101)](https://github.com/microsoft/TypeScript) [![Maintenance](https://img.shields.io/badge/Maintained%3F-no-red.svg)](https://bitbucket.org/lbesson/ansi-colors)
Type definition for LINE Frontend Framework
### Deprecated
Now LINE publishs official [liff](https://www.npmjs.com/package/@line/liff) at npmjs with typescript! So this package won't be no longer maintainance :) See ya.
Please visit [@line/liff](https://www.npmjs.com/package/@line/liff)
### Installation
```
npm i -D liff-type
```### Usage
In `.tsconfig`, add `liff-type` to `types` in `compilerOptions`
```
{
"compilerOptions": {
"types": ["liff-type"]
}
}
```In your code, you can access `liff` directly as global variable without window!
![example](doc/example.png)
### Versioning
Major and Minor Version are matched with LIFF SDK.
Patch is bug fixed or improvement.