npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

font-awesome-svg-png

v1.2.2

Published

Font Awesome split to individual SVG and PNG files of different sizes along with Node.JS based generator

Downloads

2,609

Readme

Font-Awesome-SVG-PNG

This project provides a Font-Awesome build split to individual SVG and PNG files of different sizes along with Node.JS based generator to generate any other colors and sizes combinations.

What is Font-Awesome?

Font Awesome is a full suite of 675 pictographic icons for easy scalable vector graphics on websites, created and maintained by Dave Gandy. Stay up to date @fontawesome.

Get started at http://fontawesome.io!

License

  • The Font Awesome font is licensed under the SIL OFL 1.1:
    • http://scripts.sil.org/OFL
  • Font-Awesome-SVG-PNG is licensed under the MIT license

How to use?

You may use already generated icons in white and black directories. You can also generate your own set:

Note: you need to have a command rsvg-convert available.

Install via npm: npm install -g font-awesome-svg-png.

Install via Bower: bower install font-awesome-svg-png.

The following command will generate a red set of icons at sizes of 128 and 256 pixels in directory red: font-awesome-svg-png --color red --sizes 128,256

PNG creation

PNG creation depends on rsvg-convert command being in the path.

You can skip PNG creation with --no-png.

Windows support

  1. Install node.js: https://nodejs.org/en/#download
  2. Open cmd.exe in the Font-Awesome-SVG-PNG directory
  3. Execute npm install .
  4. Download https://osspack32.googlecode.com/files/rsvg-convert.exe
  5. Add the directory of rsvg-convert.exe to your PATH
  6. Try it by executing node font-awesome-svg-png --color gray --sizes 16

Mac OS X support

sudo port install librsvg
... or ...
brew install librsvg

That should give the necessary rsvg-convert command.

WARNING: Starting from librsvg 2.40.11 and onwards rsvg-convert produces empty images due to a breaking change that was introduced. At moment there's no workaround but to revert to librsvg 2.40.10 and below.

Linux support

For Debian rsvg-convert in located in the librsvg2-bin package.

sudo apt-get install librsvg2-bin

Authors