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

xstate-hive

v3.0.1

Published

An opinionated application state generator with XState for React application

Downloads

20

Readme

XState Hive (Code generator)

oclif Version Downloads/week License

About

This library is still in preliminiary phase.

Usage

$ npm install -g xstate-hive
$ xstate-hive COMMAND
running command...
$ xstate-hive (--version)
xstate-hive/3.0.1 darwin-arm64 node-v16.15.1
$ xstate-hive --help [COMMAND]
USAGE
  $ xstate-hive COMMAND
...

Commands

xstate-hive block [MACHINENAME] [TARGETSTATEPATH]

Inject a block of funcionality into the machine

USAGE
  $ xstate-hive block [MACHINENAME] [TARGETSTATEPATH]

ARGUMENTS
  MACHINENAME      A machine name
  TARGETSTATEPATH  The path to the machine state to inject into (e.g. "core", "core.operational")

DESCRIPTION
  Inject a block of funcionality into the machine

EXAMPLES
  $ xstate-hive block inject [machine-name]

See code: dist/commands/block/index.ts

xstate-hive help [COMMANDS]

Display help for xstate-hive.

USAGE
  $ xstate-hive help [COMMANDS] [-n]

ARGUMENTS
  COMMANDS  Command to show help for.

FLAGS
  -n, --nested-commands  Include all nested commands in the output.

DESCRIPTION
  Display help for xstate-hive.

See code: @oclif/plugin-help

xstate-hive info

USAGE
  $ xstate-hive info

EXAMPLES
  $ xstate-hive info

See code: dist/commands/info/index.ts

xstate-hive init

Create a configuration file for xstate-hive on the root of your project

USAGE
  $ xstate-hive init

DESCRIPTION
  Create a configuration file for xstate-hive on the root of your project

EXAMPLES
  $ xstate-hive init

See code: dist/commands/init/index.ts

xstate-hive machine [MACHINENAME] [MACHINEPATH]

Create a new machine to manage a new feature

USAGE
  $ xstate-hive machine [MACHINENAME] [MACHINEPATH]

ARGUMENTS
  MACHINENAME  A machine name
  MACHINEPATH  Destination path

DESCRIPTION
  Create a new machine to manage a new feature

EXAMPLES
  $ xstate-hive machine quick-polls ./src/machines

  $ xstate-hive machine quick-polls

  $ xstate-hive machine

See code: dist/commands/machine/index.ts