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

word-wheel

v0.0.2

Published

Word Wheel puzzle state calculator & dictionary scanner

Downloads

2

Readme

word-wheel

Word Wheel puzzle state calculator and dictionary scanner

word wheel

Usage

This module installs the ww command which either accepts a four letter word and computes the word wheel state for that word, or accepts the -s, --scan argument and prints a list of all words included in words.json and how many other words appear on the word wheel at the same time.

To compute the state for the word 'pear'

ww pear

To scan the dictionary (words.json)

~$ ww -s | sort -r | head -n20

4: zobu
4: tete
4: shun
4: perk
4: papa
4: oppo
4: octa
4: noon
4: mary
4: lang
4: juju
4: guls
4: drip
4: dodo
4: deed
4: abba
3: zols
3: zobo
3: zits
3: zila

What the hell is this?

I got this "word wheel" game for christmas this year and found it pretty interesting. The word wheel is four wooden wheels that each have the alphabet on them, and the goal is to rotate them to create multiple words at the same time. It's actually really hard. Anyway, I thought it would be interesting to write a little program to compute the state of the wheel given a word and then run a dictionary through that and see how many words it's possible to make at the same time. Apparently four is the maximum, but that also depends on the dictionary you use.

Also, I found it interesting that one of the four-word states (drip, guls, mary, octa) contains the words octa and guls (the plural of gul) which is defined as:

Gul n. 1. a large octagonal design derived from the shape of a rose, a motif on Oriental rugs.