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

@jimengio/jimo-icons

v0.3.15-a23

Published

Self-made icons

Downloads

54

Readme

Jimo Icon

Usage

yarn add @jimengio/jimo-icons
import JimoIcon, { EJimoIcon } from "@jimengio/jimo-icons";

<JimoIcon name={EJimoIcon.tick} />;

Develop

yarn
yarn optimize  # to batch compress svg files
yarn gen # to generate CSS files
yarn watch # launcher page server

注意事项

  • 新增 icon 用 svgo 工具优化体积.
  • 制作的 icon 需要用线, 避免生成字体之后内容丢失.(执行 yarn watch 之后,发现字体图标内容丢失,尝试在 iconfont.cn 上传出现问题的图标,若依然有内容丢失,svg 文件有问题,若无,请检测压缩前的 svg 文件)
  • SVG 文件优先采用背景透明的版本, 更加可靠.
  • macos 用户,在执行 yarn gen 命令前,确保 svg 目录下没有 .DS_Store 文件,若有 $ sudo rm -rf .DS_Store

图标命名规范

  • *-filled 表示实心的图标
  • *-outline 表示图标周围有一个线框(一般是圆形)
  • *-embossed 表示图标主体有黑色(一般是圆形)背景, 图案通过白色线条呈现
  • 普通图标可以直接用名字

已经使用的图标, 命名尽量不随便修改.

Steps

  1. yarn
  2. add svg file (in ./svg)
  3. append icon names in icons.coffee
  4. yarn optimize
  5. yarn gen
  6. yarn watch

如果网页上观察生成的图标线条存在问题, 用 https://www.iconfont.cn/ 验证是否 SVG 文件有问题, 联系设计解决.

License

UNLICENSED