UNPKG

leagueofcomicgeeks

Version:

Unofficial Node.js library for interacting with League of Comic Geeks

9 lines (6 loc) 255 B
const _ = require('lodash'); const publishers = require('./publishers'); module.exports = function (publisherNames) { if (!_.isArray(publisherNames)) return []; return _.compact(_.map(publisherNames, publisherName => publishers[publisherName])); };