New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

get-logo

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

get-logo

get a base64 logo from a keyword

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

Returns a b64 logo of your choice

  • search SVG on gilbarbara/logos
  • search whatever on qwant

Please contribute SVGs to gilbarbara/logos so we can have a good collection !

⚠ shouldn't work in the browser due to CORS limitations.

Usage

const getLogo = require('get-logo');

getLogo('renault').then(data => {
  console.log(data);
  // data:image/jpeg;base64,/9j/4AAQSkZZBAAAAQDB....
})

Keywords

base64

FAQs

Package last updated on 24 Feb 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts