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

@falcon-ui/falcon-ui

v1.2.0

Published

Falcon UI component library for Vue 3 and Element Plus.

Readme

falcon-ui

Monorepo project for secondary packaging around Element Plus.

Code Quality

This repo uses:

  • eslint for lint checks
  • prettier for formatting

Supported file types for lint/format:

  • .js
  • .ts
  • .tsx
  • .vue

Commands:

  • pnpm lint run lint checks
  • pnpm lint:fix auto-fix lint issues when available
  • pnpm format format files in place
  • pnpm format:check check formatting without writing

Commit quality gate:

  • pre-commit runs format, lint, and unit tests
  • run pnpm prepare once if hooks are not installed yet
  • pnpm precommit:format format staged files with lint-staged
  • pnpm precommit:quality run pnpm lint && pnpm test

Git Hook Troubleshooting (Windows)

If commit fails with errors similar to:

  • env.exe: ... CreateFileMapping ... Win32 error 5
  • bash.exe: ... couldn't create signal pipe, Win32 error 5

This is usually a Git for Windows MSYS runtime permission issue, not a hook script bug.

Run diagnosis:

  • pnpm doctor:git-hook-env

If diagnosis fails:

  1. Use the same privilege level for terminal and IDE (do not mix admin/non-admin).
  2. Reinstall Git for Windows to C:\\Program Files\\Git and update PATH.
  3. Add these binaries to your security software allowlist:
  4. Git\\usr\\bin\\env.exe, Git\\usr\\bin\\bash.exe, Git\\usr\\bin\\msys-2.0.dll.
  5. Restart terminal/IDE and rerun pnpm doctor:git-hook-env.

Play Shell

Use the play shell app for local preview:

  • npm run dev start the play dev server from repository root
  • pnpm play start the play dev server
  • pnpm play:build build the play app

Play app structure:

  • play/src/views/home-view.vue
  • play/src/views/components-view.vue
  • play/src/views/playground-view.vue

Current component demos in Components page:

  • FlButton
  • FlInput

Library Build

Build the distributable package:

  • pnpm build:lib run full build pipeline (Gulp orchestrated)
  • pnpm build:lib:clean clean dist/falcon-ui
  • pnpm build:lib:js build esm/cjs/umd
  • pnpm build:lib:types build declaration files
  • pnpm build:lib:style build theme css

Output structure:

dist/falcon-ui/
  package.json
  global.d.ts
  esm/
  cjs/
  umd/
  types/
  theme/
    index.css
    index.scss
    src/

Third-Party Usage

Install and import in your app:

pnpm add @falcon-ui/falcon-ui

Use one of these patterns:

  1. Local import (usually no extra global typing config needed)
import { FlInput } from '@falcon-ui/falcon-ui'
  1. Global install (register all components)
import { createApp } from 'vue'
import App from './App.vue'
import FalconUI from '@falcon-ui/falcon-ui'
import '@falcon-ui/falcon-ui/theme/index.css'

createApp(App).use(FalconUI).mount('#app')

Type Hints Setup (Important)

If you use global install (app.use(FalconUI)), you must add the global component type entry:

  • @falcon-ui/falcon-ui/global

Choose one setup method.

Option A: tsconfig.json

{
  "compilerOptions": {
    "types": ["vite/client", "@falcon-ui/falcon-ui/global"]
  }
}

Option B: src/env.d.ts

/// <reference types="vite/client" />
/// <reference types="@falcon-ui/falcon-ui/global" />

Type Hints Checklist

  • Use Volar (Vue - Official) in VSCode.
  • After changing types config, run TypeScript: Restart TS Server.
  • Confirm template completion works on <FlInput> and <FlButton>.

For Library Maintainers

When publishing, ensure these type artifacts and exports exist:

  • dist/falcon-ui/types/falcon-ui/index.d.ts
  • dist/falcon-ui/global.d.ts
  • package.json contains:
    • types
    • exports["."]
    • exports["./global"]
    • exports["./components/loading"]
    • exports["./theme/index.css"]

Style override source files are published under dist/falcon-ui/theme/src.

Play Dist Link Mode

Play uses the built package output and pnpm link:

  1. pnpm build:lib
  2. pnpm link:play:falcon
  3. pnpm --dir play dev

Or run one command:

  • pnpm play:dist