multer-trello

1.0.1 • Public • Published

Multer Trello

Commitizen friendly codecov CircleCI Build Status Greenkeeper badge

This project is mostly a proof of concept. It's not made to be used in production.

Installation

npm install --save multer-trello

Usage

const express = require('express');
const multer = require('multer');
const {TrelloStorage} = require('multer-trello');
 
const app = express();
const uploader = multer({
  storage: new TrelloStorage({
    key: 'trello-key',
    token: 'trello-token',
    board: 'board id',
    list: 'list id',
  }),
});
 
app.post('/upload', uploader.single('picture'), (req, res) => {
  res.json(req.file);
});

Readme

Keywords

none

Package Sidebar

Install

npm i multer-trello

Weekly Downloads

1

Version

1.0.1

License

ISC

Unpacked Size

11.2 kB

Total Files

6

Last publish

Collaborators

  • jdrouet