clearbit-logo
Clearbit Logo API in Nodejs
npm i -S clearbit-logo
const ClearbitLogo = require('clearbit-logo');
let logo = new ClearbitLogo
logo.suggestions('Amazon').then((companies)=>{
console.log(companies);
});
logo.topSuggestion('Amazon').then((company) => {
console.log(company);
});
logo.image('amazon.com').then((logoURL) => {
console.log(logoURL);
});
logo.image('amazon.com', {size: 60, greyscale: true}).then((logoURL) => {
console.log(logoURL);
});
logo.image('amazon.com', {size: 60}).then((logoURL) => {
console.log(logoURL);
});
logo.image('amazon.com', { greyscale: true }).then((logoURL) => {
console.log(logoURL);
});