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

@getkist/action-fantasticon

v0.1.17

Published

Kist action plugin for icon font generation using Fantasticon

Readme

@getkist/action-fantasticon

Icon font generation action for kist build tool using Fantasticon.

npm version License: MIT

Features

  • Multiple Font Formats - Generate WOFF2, WOFF, TTF, EOT, and SVG fonts
  • Stylesheet Generation - Automatic CSS and SCSS generation
  • TypeScript Support - Optional TypeScript types for icon names
  • SVG Normalization - Automatic icon name normalization
  • HTML Demo - Optional HTML demo file generation
  • Configuration - Highly customizable via options

Installation

npm install --save-dev @getkist/action-fantasticon kist fantasticon

Usage

Basic Configuration

Add to your kist.yml:

stages:
  - name: Build
    steps:
      - name: generate-icon-fonts
        action: FantasticonAction
        options:
          inputDir: ./src/icons
          outputDir: ./dist/fonts
          fontName: my-icons

Advanced Configuration

stages:
  - name: Build
    steps:
      - name: generate-icon-fonts
        action: FantasticonAction
        options:
          inputDir: ./src/svg
          outputDir: ./dist/font
          fontName: icon-gl
          classPrefix: i
          formats:
            - woff2
            - woff
            - ttf
          typescript: true
          scss: true
          css: true
          html: false
          normalize: true

Options

Required

  • inputDir string - Source directory containing SVG files

  • outputDir string - Output directory for generated fonts and stylesheets

Optional

  • fontName string - Name for the generated fonts (default: icon-font)

  • classPrefix string - CSS class prefix (default: icon)

  • formats array - Font formats to generate (default: ["woff2", "woff"])

    • Options: woff2, woff, ttf, eot, svg
  • typescript boolean - Generate TypeScript type definitions (default: true)

  • scss boolean - Generate SCSS stylesheet (default: true)

  • css boolean - Generate CSS stylesheet (default: true)

  • html boolean - Generate HTML demo file (default: false)

  • normalize boolean - Normalize SVG icon names (default: true)

  • config object - Additional Fantasticon configuration options

Output Files

When executed, FantasticonAction generates:

dist/font/
├── icon-gl.woff2
├── icon-gl.woff
├── icon-gl.ttf
├── icon-gl.eot
├── icon-gl.svg
├── icon-gl.css
├── icon-gl.scss
├── icon-gl.json
└── icon-gl.ts (if typescript: true)

Integration with icon.gl

Example kist.yml for icon.gl project:

stages:
  - name: Generate Assets
    steps:
      - name: generate-fonts
        action: FantasticonAction
        options:
          inputDir: ./src/svg
          outputDir: ./dist/font
          fontName: icon-gl
          classPrefix: i
          formats: [woff2, woff, ttf]
          typescript: true
          scss: true

Development

# Install dependencies
npm install

# Build
npm run build

# Watch mode
npm run build:watch

# Test
npm run test

# Lint
npm run lint

# Format code
npm run format

License

MIT - See LICENSE file for details

Contributing

Contributions are welcome! Please file issues and submit pull requests on GitHub.