# node-line-bot

> Line Bot API implementation on Node.js.

Latest version **1.0.1** (published 2016-05-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install node-line-bot
pnpm add node-line-bot
yarn add node-line-bot
bun add node-line-bot
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2016-05-21 |
| First published | 2016-05-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Haze Lee |
| Maintainers | azur3sky |
| Keywords | Bot, Line Bot, Line |

## Links

- npm: https://www.npmjs.com/package/node-line-bot
- Repository: https://github.com/Hazealign/node-line-bot
- Homepage: https://github.com/Hazealign/node-line-bot#readme
- Issues: https://github.com/Hazealign/node-line-bot/issues
- npm.io page: https://npm.io/package/node-line-bot

## Dependencies (1)

- [request](https://npm.io/package/request.md) *

## Alternatives

- [localforage](https://npm.io/package/localforage.md) — 6.2M weekly downloads
- [localforage-observable](https://npm.io/package/localforage-observable.md) — 30.8K weekly downloads
- [@y/y](https://npm.io/package/@y/y.md) — 30.1K weekly downloads
- [@metaobjectsdev/render](https://npm.io/package/@metaobjectsdev/render.md) — 3.5K weekly downloads
- [@ledgerhq/coin-algorand](https://npm.io/package/@ledgerhq/coin-algorand.md) — 1.1K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2016-05-21
- 1.0.0 — 2016-05-21

## README

# node-line-bot

Line Bot API implementation on Node.js. Using Request, and return Promise.
Check REST API Documentation in [Here](https://developers.line.me/bot-api/api-reference).

## How to Use?

**Example**

```javascript
var linebot = require('node-line-bot');
linebot.initialize(require('./settings.json'));

co(function *() {
	let result = yield linebot.sendMessage(to, content);
	let result2 = yield linebot.sendMessages(to, messages);
	let result3 = yield linebot.getMessageContent(messageId);
	let result4 = yield linebot.getProfile(mid);
}, function (err) {
		console.error(err);
});
```

## License

	Copyright (c) 2016 Haze Lee <hazelee@realignist.me>
	
	Permission is hereby granted, free of charge, to any person
	obtaining a copy of this software and associated documentation
	files (the "Software"), to deal in the Software without
	restriction, including without limitation the rights to use,
	copy, modify, merge, publish, distribute, sublicense, and/or sell
	copies of the Software, and to permit persons to whom the
	Software is furnished to do so, subject to the following
	conditions:
	
	The above copyright notice and this permission notice shall be
	included in all copies or substantial portions of the Software.
	
	THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
	EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
	OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
	NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
	HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
	WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
	FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
	OTHER DEALINGS IN THE SOFTWARE.

---
_Source: https://npm.io/package/node-line-bot · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
