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

netwalk-vue

v0.7.0

Published

Netwalk game (aka pipes, network) vue component.

Downloads

5

Readme

netwalk-vue

Netwalk game (aka pipes, network) vue component.

Example

DEMO

https://netwalk-vue.gleb-cher.pro/

Features

  • template mode with validation, initial provider and empty cells support
  • automatic generation mode with adaptive playing field dimensions
  • customizable cell styles (colors, sizes, animations)
  • incremental filling and randomizing
  • rotation and color change animations
  • emit change events for finished, started, moves and stopwatch values

Installation

npm i -S netwalk-vue

Usage

<template>
    <netwalk />
</template>

<script>
import Netwalk from 'netwalk-vue';

export default {
  name: 'awesome-component',
  components: {
    netwalk: Netwalk,
  },
};
</script>

API

Component input props

   fill: {
     type: Boolean,
     default: true
   },
   fillAnimationDelay: {
     type: Number,
     default: 0
   },
   randomize: {
     type: Boolean,
     default: true
   },
   randomizeAnimationDelay: {
     type: Number,
     default: 0
   },
   template: {
     type: Array
   },
   customStyle: {
     type: Object,
     default: {
       cellSizePx: 50,
       connectionWidthPercent: 20,
       connectionColor: '#e1e1e1',
       connectionColorConnected: '#6b8fd4',
       
       cellColor: 'transparent',
       
       emptyCellColor: 'transparent',
       
       providerColor: '#ff6200',
       
       consumerColor: '#ffdc73',
       consumerColorConnected: '#ffbf00',
       
       rotateAnimation: true,
       rotateAnimationDuration: '200ms',
       colorAnimation: true,
       colorAnimationDuration: '150ms'
     }
   }

The automatic adaptive mode is activated if no template detected.

Custom styles merge with defaults.

Events

Every event fired immediately after component mounting with the changed value.

  • started-change
  • finished-change
  • stopwatch-change
  • moves-change
  • filling-change
  • filled-change
  • randomizing-change
  • randomized-change

Game core

Component based on netwalk-core package

For access to netwalk instance and use netwalk-core API:

const instance = mountedComponent.netwalk

Browser support

Tested on last Chrome and Firefox