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

@svelte-chat/gui

v0.0.4

Published

The overlay of complex chat solution for modern applications.

Readme

Svelte-Chat GUI

The overlay of complex chat solution for modern applications.

What is the Svelte-Chat?

Svelte-Chat is complex chat solution for SvelteKit applications which offers your clients top-level chat experiences and full power to administrate for your management team

Swift description of this

This one is the overlay which supplies to your svelte-chat app the GUI experiences.

Installation (as always - for npm)

$ npm i @svelte-chat/gui

Prerequisites

  1. SvelteKit app,
  2. @svelte-chat/plugin installed and embedded in your SvelteKit entity,

Overview:

In front of you are only two steps - to use (@svelte-chat/plugin not accounted)

1st: Attach client interaction button to your SvelteKit App. Like below or similary:

// Route: /src/routes/+layout.svelte
<script>
    import { SvelteChatButton } from "@svelte-chat/gui";
</script>

<!-- Other stuff will be load here -->
<slot/>

<SvelteChatButton/>

2nd: Connect configuration with your client-side app. This can be done generally around 2 ways:

  1. Use our load function which pass all configuration for client side by itself:
  • Remember that: Each example from 1 point can be utilized into any server side SvelteKit load spot file like: +layout.server.ts located in scope where 'SvelteChatButton' is used
  • When you just made +layout.server.ts/+page.server.ts file
import { loadLayoutServer } from "@svelte-chat/gui";

// This load automatically
export const load = loadLayoutServer;
  • When you already have +layout.server.ts/+page.server.ts file
import { loadLayoutServer } from "@svelte-chat/gui"

// This load autmoatically
export const load = () => {
    const math = 1 * 1 * 0;

    return {
        ...loadLayoutServer()
        math,
    }
}
  1. Enter configuration to <SvelteChatButton/> initialization component target:
<script>
    import { SvelteChatButton } from "svelte-chat";
</script>

</slot>

<!-- Port 10501 is a default port for server communication. When you setup other port, pass here -->
<SvelteChatButton lexConfig={{port: 10501}}/>
  • As you saw this is not to far complicated. But you should be couscious side effects which happens here:
    • When you skip any step application won't be work
    • In 1st config option from 2nd step, default config is load automatically same as fine tuned user configuration [more about bellow]
    • In 2nd config option from 2nd step, when you pass wrong port you will see an error into client side Debug Tool, so you must match-up correctly

Recomendations:

  1. When you would like to have fittest apperance experiences you should setup such style for app e.g: in app.html head scope
    * {
        margin: 0px;
        padding: 0px
    }

Contribution:

You feel will to help in solution evolution. Don't be shy and pull issue with demand like: I would like take the participation in evolution because ...[cause]

License

All what you should know about Copyrights is that all code base is under Apache 2.0