- Notifications
You must be signed in to change notification settings - Fork2
pietrop/trello-to-markdown
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A node module to export a trello board, and convert it into a set of folders, and markdown files, corresponding to lists and cards on the board.
Used to converttextAV components board into gitbook.
npm install trello-to-markdown
consttrelloToMarkdownFolders=require('trello-to-markdown');constboardIdTextAVComponents='58mo9Tpa';trelloToMarkdownFolders({boardId:boardIdTextAVComponents,destFolderName:'docs');
WheredestFolderName
is just the name of the folder, not the path.
- calls trello API with board id
- get the lists in the boards
- uses that to create the folder structure
- second call to trello API gets the cards
- iterate through the cards
- and write description content of card as markdown file
- in the folder corresponding to that card
- Also creates as summary page
- done
- node
- npm
How to run build
No build steps
How to carry out tests
No automated tests for now, seeexample-usage.js
to try it out locally
to publish module to npm
npm run publish:public