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);
});

/multer-trello/

    Package Sidebar

    Install

    npm i multer-trello

    Weekly Downloads

    2

    Version

    1.0.1

    License

    ISC

    Unpacked Size

    11.2 kB

    Total Files

    6

    Last publish

    Collaborators

    • jdrouet