Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ufoo68/line-message-builder
https://github.com/ufoo68/line-message-builder
Last synced: 13 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ufoo68/line-message-builder
- Owner: ufoo68
- Created: 2019-09-14T10:21:15.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-10-28T23:59:08.000Z (about 4 years ago)
- Last Synced: 2024-09-19T07:50:56.424Z (about 2 months ago)
- Language: TypeScript
- Size: 9.59 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# line-message-builder
[![Build Status](https://travis-ci.org/ufoo68/line-message-builder.svg?branch=master)](https://travis-ci.org/ufoo68/line-message-builder)
[![npm version](https://badge.fury.io/js/line-message-builder.svg)](https://badge.fury.io/js/line-message-builder)A Node.js module that returns ReplyMessage for [LINE Bot SDK](https://github.com/line/line-bot-sdk-nodejs)
## Installation
```sh
npm install line-message-builder --save
```## Usage
### Javascript
```javascript
const line = require('@line/bot-sdk');
const message = require('line-message-builder');
const client = new line.Client(config);
---
client.replyMessage(message.buildReplyText('test'))
---
```## Test
```sh
npm run test
```