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

jam-icons

v2.0.0

Published

Jam icons is a set of icons designed for web projects, illustrations, print projects, etc. Shipped in JavaScript, SVG and font versions. Licensed under MIT. Twitter: @michaelampr

Downloads

10,944

Readme

alt text

Jam icons is a set of icons designed for web projects, illustrations, print projects, etc. Shipped in JavaScript, font & SVG versions. Licensed under MIT. Icons: https://jam-icons.com

What's new?

Jam Icons v2 is a totally new version of this icons set. Read more below, especially if you are using the first version. Each icon has been re-shaped with a 2px stroke on a 24x24 grid. I mainly used a 20x20 grid, letting 4px for extra design. Recreating the entire set was huge, but needed. I wanted the set to be more reliable, more consistent, and bigger.

Getting Started

This version is shipped in three formats: JavaScript, SVG and font and contains more than 890 icons.

Javascript

Usage

The recommended approach. It turns your tag into a clean svg markup. You just have to use the data-jam attribute inside a span or a whatever tag to select your icon (The attributes are listed below). So if you write:

<span class="your-custom-class" data-jam="backpack" data-fill="#222"></span>

It becomes:

<svg class="jam jam-backpack your-custom-class" data-fill="#222">[...]</svg>

Install

Via CDN (recommended)
<script src="https://unpkg.com/[email protected]/js/jam-icons.min.js"></script>
Via NPM
$ npm install jam-icons
Manually

Just hit the download button and use a script tag like below:

<script src="/path/to/js/jam-icons.min.js"></script>

Attributes

data-jam (required) The icon you want to use, e.g data-jam="backpack"

data-fill (optional) RGB or Hexadecimal, e.g data-fill="#F5C25A"

data-width (optional) RGB or Hexadecimal, e.g data-width="32"

data-height (optional) RGB or Hexadecimal, e.g data-height="32"

More infos

You can easily customize your icons using css, such as width, height and color. I provided the data-fill, data-width and data-height attributes to support a direct way to color the icon, in the case you do not want to add extra lines of css.

CSS / Font

Usage

The alternative approach. You load the CSS stylesheet and use Jam icons as a font icons. You just have to use the jam class followed by the name of the icon you want to use prefixed by jam-, like below:

<span class="jam jam-backpack"></span>

Install

Via CDN (recommended)
<link rel="stylesheet" href="https://unpkg.com/[email protected]/css/jam-icons.min.css>
Via NPM
$ npm install jam-icons
Manually

Just hit the download button and use a link tag like below:

<link rel="stylesheet" type="text/css" href="/path/to/css/jam-icons.min.css">

SVGS

Usage

The complete set as independents SVGs files is available too. Hit the download button to download it.

Complete icons list

You can see the complete icons list on https://jam-icons.com

Support

If you have some icons ideas, please open a new issue, add a icons-request label and make your proposal. Likewise, if you see a bug or something that needs to be fixed, please open a new issue too with a bug label.

Compatibility

Version 1.X.X

Unfortunately, the v2 is a major version including major breaking changes: I kept the icons names availables in the v1 but the shapes are totally new. If you give it a go, try with JavaScript ✌️

Changelog

Jam icons is following the Semantic Versioning with the MAJOR.MINOR.PATCH format.

  • V2.0.0 - New release with 896 icons
  • V1.0.72 - Optimizing SVGs
  • V1.0.0 - First release with 422 icons

License

This project is licensed under MIT