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

paneforge

v0.0.4

Published

<!-- automd:badges license name="paneforge" color="green" github="svecosystem/paneforge" -->

Downloads

24,816

Readme

PaneForge

npm version npm downloads license

PaneForge provides components that make it easy to create resizable panes in your Svelte apps. It's designed to be simple to use, and to work well with other Svelte components and libraries. This project has taken a lot of inspiration and code from the work done by Bryan Vaughn and react-resizable-panels and seeks to provide a similar experience for Svelte developers.

Features

  • Simple API: PaneForge is designed to be easy to use. It provides a small set of components that can be combined to create complex layouts.
  • Resizable Panes: Panes can be resized by dragging the resizer between them.
  • Nested Groups: Groups of panes can be nested inside other groups to create complex layouts.
  • Customizable: The appearance and behavior of the panes can be customized using CSS and Svelte props.
  • Persistent Layouts: PaneForge can be used with LocalStorage or cookies to persist the layout of the panes between page loads.
  • Accessible: PaneForge is designed to be accessible to all users, including those who use assistive technologies.
  • Community-driven: PaneForge is an open-source project that welcomes contributions from the community. If you have an idea for a new feature or an improvement, we'd love to hear from you!

Installation

npm install paneforge

Basic Usage

Here's a simple example of how to use Paneforge to create a horizontal pane group with two panes:

<script lang="ts">
	import { PaneGroup, Pane, PaneResizer } from "paneforge";
</script>

<PaneGroup direction="horizontal">
	<Pane defaultSize={50}>Pane 1</Pane>
	<PaneResizer />
	<Pane defaultSize={50}>Pane 2</Pane>
</PaneGroup>

The PaneGroup component is used to initialize a pane group, and the Pane component is used to create a pane. The PaneResizer component is used to create a resizer that can be dragged to resize the panes.

The components ship only with the styles necessary to position the panes in the appropriate layout. The rest of the styling is up to you.

For more information, see the Documentation.

Sponsors

This project is supported by the following beautiful people/organizations:

License

Published under the MIT license. Made by @huntabyte and community 💛