get-logo

get a base64 logo from a keyword

Usage no npm install needed!

<script type="module">
  import getLogo from 'https://cdn.skypack.dev/get-logo';
</script>

README

get-logo

Returns a b64 logo of your choice

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....
})