# trello-report-js

> Report messages to trello!

Latest version **1.0.4** (published 2018-05-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install trello-report-js
pnpm add trello-report-js
yarn add trello-report-js
bun add trello-report-js
```

## 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.4 |
| Published | 2018-05-04 |
| First published | 2018-05-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=5.0.0 |
| Dependencies | 4 |
| Unpacked size | 129.5 KB |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Raphael Kieling |
| Maintainers | raphaelkielingtondin |

## Links

- npm: https://www.npmjs.com/package/trello-report-js
- Repository: https://github.com/raphaelkieling/trello-report
- Homepage: https://github.com/raphaelkieling/trello-report#readme
- Issues: https://github.com/raphaelkieling/trello-report/issues
- npm.io page: https://npm.io/package/trello-report-js

## Dependencies (4)

- [colors](https://npm.io/package/colors.md) 1.2.3
- [express](https://npm.io/package/express.md) 4.16.3
- [paretojs](https://npm.io/package/paretojs.md) 3.7.0
- [node-trello](https://npm.io/package/node-trello.md) 1.3.0

## Recent versions

- 1.0.4 (latest) — 2018-05-04
- 1.0.3 — 2018-05-04
- 1.0.2 — 2018-05-04
- 1.0.1 — 2018-05-04
- 1.0.0 — 2018-05-04

## README

# Trello Report

Report messages to trello!

![Travis CI](https://travis-ci.org/raphaelkieling/trello-report.svg?branch=master)

[![Coverage Status](https://coveralls.io/repos/github/raphaelkieling/trello-report/badge.svg?branch=master)](https://coveralls.io/github/raphaelkieling/trello-report?branch=master)

### Example with middleware and function createCard

```javascript
const server = require("express")();
const trelloReport = require("../lib/trello_report");

let trelloReportMiddleware = new trelloReport({
  your_key: "YOUR_KEY",
  token: "YOUR_TOKEN",
  id_list: "ID_LIST"
});

server.get("", async (req, res) => {
  try {
    throw new Error("Server error");
  } catch (e) {
    trelloReportMiddleware
      .createCard("Erro no get do software")
      .then(console.log("Card sended"));

    res.status(500).send("ERROR");
  }
});

server.use(trelloReportMiddleware.middleware);

server.listen(3000, () => console.log("listen in 3000"));
```

### Installation

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