@jake-story/trellor

Trello service module

Usage no npm install needed!

<script type="module">
  import jakeStoryTrellor from 'https://cdn.skypack.dev/@jake-story/trellor';
</script>

README

Helper for Trello API

import { Trellor } from "@jake-story/trellor"

const trellor = new Trellor(API_KEY, API_TOKEN);

trellor.boards
            .get((Board[]))
            .add("board name", (Board))
            .find("board name", (Board[]))

trellor.board("boardId")
                    .get((Board))
                    .remove()
                    .clear()
                    .lists
                        .get((List[]))
                        .add("list name", (List))
                        .find("list name", (List[]))

trellor.list("listId")
                .clear()
                .remove()
                .card("cardId")
                    .remove()
                .cards
                    .get((Card[]))
                    .add("card name", (Card))