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

icons-font-command

v1.2.0

Published

Sub project of icons-font-customization, a collection of over 33,000 high-quality free svg icons and tools for generating customized icon font. All icons are completely free for personal or business requirements.

Downloads

18

Readme

icons-font-command

A collection of over 78,000 high-quality free svg icons and tools for generating customized icon font. All icons are completely free for personal or business requirements.

Open See all icons, to view all icons. You can change the icons color, size and background color, or search icons by a name, or save selected results.

You also can download PNG, JPG, ICO and Apple ICNS image files directly from online.

icons-font-command is icons-font-customization's sub project containing scripts to generate fonts.

icons-font-command project can be run separately and it gets svg icons remotely from icons-font-customization's github repository.

How to use

install

In order to run icons-font-command in your project to generate svg icons, you need to install it first:

npm i icons-font-command --save-dev

icons-font.config.js

You need a config file to tell icons-font-command that what svg icons you want to use for generating the fonts.

A sample inside of this project

You can select icons on online tool and click the menu icon at the top-right corner to open a panel, then you can click "Populate Configuration" to population configurations. You copy those configurations and paste it to your icons-font.config.js, now you can generate your svg fonts.

run it

You can run it from the command line like this:

npx icons-font-command

Or you can write a piece of code like this and for example, save it as generate-svg-fonts.js:

var path = require('path');
// if this js file is located at the same place of icons-font.config.js
var parameters = {'--config': path.join(__dirname, 'icons-font.config.js')};
var cmd = require('icons-font-command');
cmd.IconsFontLite.generateFont(parameters);

then you can run it like:

node generate-svg-fonts.js

Actually you can put above code at the end of icons-font.config.js and then run it:

node icons-font.config.js

output

In icons-font.config.js you can define whether to output, so you can find font file(s) and license file(s) there. If you open "sample.html" then you can confirm all generated icons. You need to include "style.css" file to your web page or copy style.css's content to one of your existing css files.


icons-font-customization

icons-font-customization is a collection of over 75,000 high-quality free svg icons and tools for generating customized icon font.

See all icons

And also there is a Desktop version for for Windows, Linux, MacOS.

All icons collected here are completely free for your personal or business requirements. You can use this tool to combine / generate your own icon webfonts for your project from different sources.

See detail information at icons-font-customization