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

markcons

v0.2.0

Published

Icon components for marko

Downloads

1,772

Readme

Markcons

The N|Solid icons package

markcons aims to consolidate awesome icons in one package. the icons are provided with minimal configuration, you choose which one to use and how. feel free to create an issue requestin a specific icon package or create a pull request and add it yourself.

Installation

Markcons is written with compatiblity to marko 5, earlier version were not tested.

npm install markcons

Usage

Each icon library defines it's own behivor, the common factor is the <markcon-*> tag prefix. Each Icon aceepts two common attributes for accessiblity: title and desc Currently included icon pakcages: | Icon Package | Icon Prefix | | ------ | ------ | | Material Design Icons | <markcons-mdi-*> | | Free Font Awesome 6 Icons | <markcons-fa-*> |

Styling is done by css or inline attributes, all icons include the class: .markcons

Material Design Icons

Template: <markcons-mdi-{style}-{fill}-{name}/> Go to Google Fonts Icons and choose your desired icon and fill the template. | Icon | Icon Component | | ------ | ------ | | outlined arrow forwared | <markcons-mdi-outlined-arrow_forward> | | outlined arrow forwared filled | <markcons-mdi-outlined-fill-arrow_forward> |

Icons are inline svg

Font Awesome 6

Template: <markcons-fa-{type}-{name}/> Go to Font Awesome Icons search for your icon, make sure to filter only free icons. once you choose your icon a pop will come up with html code which needs to be transalted to a component name.
in the above example the type is brand, and the name is waze. | Icon | Font Awesome |Icon Component | | ------ | ------ | ------ | | waze | <i class="fa-brands fa-waze"></i> |<markcons-fa-brands-waze> | | warehouse| <i class="fa-solid fa-warehouse"></i> | <markcons-fa-solid-warehouse> |

Icons are inline svg

License

Note: the license is apache and not mit because of the google license

APACHE 2.0