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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@liip/npm-icons

v1.0.0

Published

Import svg icons using cli

Downloads

63

Readme

Official Documentation

To get started quickly you can add liip-npm-icons dependency to your project:

npm install @liip/npm-icons

Then create a config file .npm-iconsrc.json and where you want to download your icons

{
  "iconsPath": "./src/assets/icons",
}

Extended configuration

You would need to add the following variable to your .npm-iconsrc.json

{
  "iconsPath": "./src/assets/icons",
  "iconsSvgBaseUrl": "https://icons.liip.ch/icons",
  "iconsJsonUrl": "https://icons.liip.ch/icons.json",
  "iconsTypes": ["regular", "light"],
  "authorization": {
    "username": null,
    "password": null
  }
}

In case you want to add the username and password as environment variable you can use:

ICONS_AUTH_USERNAME="yourUsername"
ICONS_AUTH_PASSWORD="yourPassword"

Basic command use

npx icons add <icon-name>

import icons from icons list file

File required one icon name per line
File example (icons-list.txt):

house
shop
music-ticket

command example:

npx icons add -l icons-list.txt

Vue 3 integration

Requirements:

  • Vue 3
  • Vite
  1. First we need to install vite-svg-loader to be able to use svg files as vue components:
npm install vite-svg-loader --save-dev
  1. Add svgLoader to vite.config.js
import svgLoader from 'vite-svg-loader'

export default defineConfig({
  plugins: [vue(), svgLoader()]
})
  1. Add the vue icon component BaseIcon
import { createApp } from 'vue'
import App from './App.vue'
import BaseIcon from '@liip/npm-icons'

createApp(App)
  .use(BaseIcon)
  .mount('#app')
  1. Use the baseIcon component passing the icon name
<template>
  <BaseIcon name="house" />
</template>
  1. (Optional) In case your icons are not located on- /src/assets/icons
<template>
  <BaseIcon name="house" iconsPath="/different/icons/path" />
</template>

Contribute

To contribute first clone the project:

git clone [email protected]:liip/npm-icons.git

Release

The tool release-it is used to make a release so it is as simple as running the following command:

npm run release 

Update documentation

Our documentation is made with nuxt-content and the docs theme If you want to make any changes you need execute the following commands:

cd docs
npm install
npm run dev

Deployment

The deployment is made with github pages using static files thanks to nuxt generate. If you want to deploy some changes just run npm run release and then answer yes to the question Do you want to build the docs? then release-it will run nuxt generate and commit the changes into the tag commit.