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

@equinor/fusion-wc-people

v2.2.2

Published

Fusion People web components

Readme

fusion-wc-people Published on npm

Description

Comprehensive web component library for selecting and viewing people/users with advanced search functionality and multiple display modes.

Components

<fwc-people-picker>

Interactive person selector with search, keyboard navigation, and multi-select support.

<fwc-people-viewer>

Display selected people in list or table format with customizable columns.

Installation

npm install @equinor/fusion-wc-people

Examples

<!-- Simple picker -->
<fwc-people-picker></fwc-people-picker>

<!-- Viewer with pre-loaded people -->
<fwc-people-viewer 
  resolveIds="azure-id-1,azure-id-2,azure-id-3"
  viewMode="table">
</fwc-people-viewer>

Events

The fwc-people-picker and fwc-people-viewer both share the same events.

<!-- 
  Selection events
  @selection-changed: PersonInfo[]
  @person-added: PersonInfo
  @person-removed: PersonInfo
-->
<fwc-people-picker
  @selection-changed=${handler}
  @person-added=${handler}
  @person-removed=${handler}
></fwc-people-picker>

PersonProvider

Its required to wrap these components with fwc-person-provider components.

The provider is usually delivered by the portal or cli. but you can also create a custom provider.

<!-- Wrap components in person provider -->
<fwc-person-provider>
  <fwc-people-picker></fwc-people-picker>
</fwc-person-provider>

Key Features

  • ⌨️ Keyboard navigation (Arrow keys, Enter, Escape)
  • 🔍 Debounced search (300ms)
  • 👤 Single/multiple selection modes
  • 📊 List and table view modes
  • 🎨 Avatar customization
  • 🔄 Service principal support

Properties

fwc-people-picker

| Property | Type | Description | | ---------- | ------ | ------------- | | people | PersonInfo[] | Array of PersonInfo objects to set as selected people in the picker. Mostly used when using PersonPicker as a controlled component. | | resolveIds | string[] | Array of person azureIds to pre-resolve and display as selected people. PS: will only resolve on mount. | | placeholder | string | Placeholder text shown in the search input. | | multiple | boolean | Whether multiple people can be selected. Defaults to true. | | showSelectedPeople | boolean | Whether to show selected people below the input. Defaults to true. This must be paired with multiple to be effective. | | subtitle | keyof PersonInfo | Subtitle text field from PersonInfo displayed in the People Pills. | | secondarySubtitle | keyof PersonInfo | Secondary subtitle field from PersonInfo displayed in the search result list. | | noResultTitle | string | Title to show when suggest task has no results | | noResultSubtitle | string | Subtitle to show when suggest task has no results |

fwc-people-viewer

| Property | Type | Description | | ---------- | ------ | ------------- | | people | PersonInfo[] | Array of PersonInfo objects to display in the viewer. | | resolveIds | string[] | Array of person azureIds to pre-resolve and display as selected people. PS: will only resolve on mount. | | viewMode | 'list \| table' | The view mode to display the people in. Defaults to 'list'. | | showViewMode | boolean | Whether to show the view mode selector. Defaults to true. | | tableColumns | string[] | Array of column names to display in the table. Defaults to ['avatar', 'name', 'type', 'email', 'mobilePhone', 'jobTitle', 'department', 'manager', 'remove']. | | subtitle | keyof PersonInfo | Subtitle text field from PersonInfo displayed in the People Pills. |