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

@poirazis/superlib

v0.2.7

Published

A Svelte 5 component library for building rich data-entry UIs, field plugins, and admin interfaces. It includes table/form cell editors, layout primitives, and reusable UI building blocks.

Readme

@poirazis/superlib

A Svelte 5 component library for building rich data-entry UIs, field plugins, and admin interfaces. It includes table/form cell editors, layout primitives, and reusable UI building blocks.

Requirements

  • Svelte 5
  • Bun, npm, pnpm, or yarn

Installation

npm install @poirazis/superlib

Usage

Import components from the package entry point:

<script>
	import { Button, SuperTabs, StringCell, SuperField } from '@poirazis/superlib';
</script>

<SuperField label="Name" field="name">
	<StringCell value="Jane" cellOptions={{ role: 'form' }} />
</SuperField>

<Button text="Save" type="primary" />

Exports

UI

| Component | Description | | ---------- | ---------------------------------------------------------- | | Button | Action button with icons, confirm mode, timer/loop actions | | Switch | Toggle switch | | Checkbox | Checkbox input |

Layout & structure

| Component | Description | | --------------- | ------------------------------------------------------------ | | SuperField | Labelled form field wrapper with help text and error display | | SuperList | Draggable, selectable list with row actions | | SuperTabs | Tabbed container | | SuperLightbox | Full-screen attachment/image viewer |

Cell editors

Cell components are designed for inline editing in tables and forms. They use a shared cellOptions prop for role, readonly/disabled state, styling, and behaviour.

| Component | Description | | ------------------------ | ----------------------------------------- | | TextCell | Simple text display cell | | StringCell | String input with formatting and debounce | | CellStringMask | Masked string input (IMask) | | NumberCell | Number input with formatting | | SliderCell | Numeric slider | | BooleanCell | Boolean toggle | | DatetimeCell | Date/time picker | | DatetimeRangeCell | Date range picker | | BaseDropdownCell | Select / input-select dropdown | | AdvancedOptionsCell | Switches, buttons, and radio options | | CellTags | Tag input | | CellLink | Link field | | CellLinkPickerSelect | Link picker (select) | | CellLinkPickerTree | Link picker (tree) | | CellSQLLink | SQL-backed link field | | CellSQLLinkPicker | SQL link picker | | CellAttachment | Attachment upload (compact) | | CellAttachmentExpanded | Attachment upload (expanded/gallery) | | CellAttachmentSlider | Attachment carousel | | CellColor | Color picker | | CellIcon | Icon picker | | CellJSON | JSON editor |

Cell context

Many cell components expect a Svelte context key named sdk (for example processStringSync, API.uploadAttachment). Provide it from a parent wrapper when using cells outside their original host environment:

<script>
	import { setContext } from 'svelte';
	import { StringCell } from '@poirazis/superlib';

	setContext('sdk', {
		processStringSync: (template, ctx) => String(ctx.value ?? ''),
		API: {
			uploadAttachment: async () => []
		}
	});
</script>

Development

Clone the repo and install dependencies:

bun install

| Script | Description | | ------------------ | ----------------------------------------------- | | bun run dev | Start the local showcase app | | bun run build | Build the showcase app and library package | | bun run watch | Rebuild the library on file changes | | bun run lint | Run Prettier checks | | bun run format | Format the codebase | | bun run check | Full svelte-check (includes untyped components) | | bun run check:ts | Type-check only components that use TypeScript |

Source lives in src/lib. The showcase app in src/routes is for local preview only and is not published.

Publishing

Releases are automated via GitHub Actions on push to main. To publish a new version to npm:

  1. Bump the version in package.json
  2. Commit and push to main

The release workflow runs lint, scoped type-check (check:ts), builds the package, and publishes when the version in the tip commit differs from its parent. You can also trigger a manual release from the Actions tab.

# example
npm version patch
git push origin main

Project structure

src/lib/
├── components/
│   ├── cells/          # Table/form cell editors
│   ├── form/           # Form layout components
│   ├── SuperList/      # Draggable list
│   ├── SuperTabs/      # Tabs
│   ├── SuperTree/      # Tree view
│   ├── SuperLightbox/  # Lightbox viewer
│   ├── SuperPopover/   # Popover positioning
│   └── UI/elements/    # Basic UI controls
├── actions/            # Svelte actions (click outside, dropdown positioning)
└── index.ts            # Public exports