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 🙏

© 2024 – Pkg Stats / Ryan Hefner

@ryanatkn/fuz

v0.101.2

Published

Svelte UI library

Downloads

2,633

Readme

@ryanatkn/fuz

friendly user zystem 🧶 fuz.dev

Fuz is a Svelte UI library with components and helpers for making excellent websites. It's in early alpha and it will go through many breaking changes.

Fuz is being made to support Zzz and my other projects that focus on end-users. Fuz emphasizes capability and efficiency and tries to be simple for those goals. Compared to most UI libraries, Fuz has fewer features and more opinions.

To learn more see the docs and contributing.md. Feel free to take the ideas and code for your own purposes.

The Svelte components and helpers:

  • builds on my CSS framework Moss
  • plain CSS and minimal abstraction
  • near-zero dependencies except for Svelte, SvelteKit, Moss, and my utility library @ryanatkn/belt (not all components require SvelteKit but some do import its modules, needs more consideration)
  • not a fully-featured enterprise-ready set of components, it's being developed for the needs of specific projects, though eventually it will fill out
  • should be easy to copy/paste into your projects when you need full control like shadcn-svelte, I'll look into smoothing this pattern out in the future

Usage

⚠️ Expect a lot of breaking changes. If you want to help stabilize the API, please join the Discord and see contributing.md, your input is appreciated.

If you feel comfortable looking at the source code, Fuz is ready to use in your own projects, with the major caveat that there will be a lot of breaking changes ahead. The code is significantly incomplete but I think it's stable enough to use if you're willing to keep up with the relatively fast-moving changelog. For more see the dev channels in Discord.

npm i -D @ryanatkn/fuz

Fuz uses my style framework Moss. Import modules at their full paths:

// Moss has one main plain CSS stylesheet:
import '@ryanatkn/moss/style.css';
// or import individual parts of `@ryanatkn/moss/style.css`:
import '@ryanatkn/moss/style_reset.css'; // required
import '@ryanatkn/moss/style_utilities.css'; // optional
import '@ryanatkn/moss/style_components.css'; // optional
import '@ryanatkn/moss/style_animations.css'; // optional
// and import a Moss theme:
import '@ryanatkn/moss/theme.css'; // or bring your own
// then import Fuz Svelte components:
import Themed from '@ryanatkn/fuz/Themed.svelte';
// and Fuz TypeScript modules:
import {type Theme, get_theme} from '@ryanatkn/fuz/theme.js';

See the library for more.

Contributing

See contributing.md.

Develop

npm i # node >=20.10

# development
npm run dev

# production
npm run build
npm start

Fuz uses Gro, my CLI and toolkit that I use to run tasks in all of my projects. If you're not allergic it's handy to install globally.

License 🐦

MIT