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

ziptied

v0.2.1

Published

Easy reactive framework to ziptie on top of static sites for reactivity and modern features.

Downloads

5

Readme

Ziptied

Modernizing static sites the easy way.

This is still a WIP and should not be used for anything critical. Watch out for a 1.0 release.

Codacy Badge DeepSource

GitHub last commit GitHub commit activity

License GitHub issues

What is ziptied?

Zipitied is a simplified system of hydrated reactive components, ready to zip-tie to existing SSG templated webpages.

Why ziptied?

There are a lot of reactive web frameworks in the wild, and most of them are concerned with the creation of dynamism and interactivity from the outset; you need to use their concepts from the start, and trying to bolt on pieces of functionality later is a nightmare. You ether would need to create a new website and serve only the routes that actually are finished or mix a bloated system with your existing code.

This library allows you to make minimal modifications to your existing markup, add only the functionality you need on new code, and bolt on the desired interactivity only to the parts you need.

Therefore, you could grab a regular Hugo or Jekyll site and add new functionality with minimal effort and minimal disruption of legacy code, and without the need to extend the generator with custom, cumbersome plugins.

In fact, this library was born from that usecase, when a Jekyll site got so crufty and fragile that we got locked to an obsolete version of Ruby, and adding any new functionality to it was impossible without rewriting a lot of third-party code.

How it works

Ziptied is built on top of RxJS and Web Components.

To use it, you add this library to your existing JS code, define the components you need (or use some of the builtin ones), and then mark existing elements with custom classes and data attributes to indicate with elements will be replaced by the interactive components, and if there is some initial state to be passed.

This rather inelegant implementation allows you to only modify the existing markup by appending easily modifiable attributes to the elements; no matter if you are using a site builder or a premade template, you only need to be able to add a new class (and load the script) to transform any existing element into a reactive component.

Check out the docs for more info.

Installation

Using NPM:

npm install --save ziptied

Using CDN:

<script src="https://unpkg.com/ziptied@latest/umd/ziptied.js"></script>

Contributors

  • Code, design, and documentation: @aordano