This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const pMap = require('p-map') | |
const axios = require('axios') | |
const fs = require('fs') | |
const path = require('path') | |
const camelCase = require('camelcase') | |
const { mapKeys, isPlainObject, trimEnd, map, find } = require('lodash') | |
const TYPE_AUTHOR = 'author' | |
const TYPE_ATTACHEMENT = 'attachment' |