Socket
Book a DemoInstallSign in
Socket

browser-logos

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

browser-logos

A collection of SVG logos for different web-browsers

latest
Source
npmnpm
Version
2.1.1
Version published
Maintainers
1
Created
Source

Build Status

browser-logos

A collection of SVG logos for different web-browsers:

demo

Usage

For each of ie, chrome, firefox, opera, android and apple, you can do the following:

var logos = require('browser-logos');

//get the default svg text, e.g. for use in an image tag:
//  <image src="ie.svg" />
//by default it will have width and height of 256 and this
//will scale properly if you add width/height properties
//to the image tag
logos.ie();

//get an image which is scaled to specified dimensions (for use inline in another svg):
logos.ie({
  x: 0,
  y: 0,
  width: 100,
  height: 100
});

Sources

The original SVG logos, which have later been simplified by hand, can be downloaded here:

So far I only have a png for Safari here

FAQs

Package last updated on 24 Jan 2013

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