Socket
Socket
Sign inDemoInstall

@xstate/cli

Package Overview
Dependencies
89
Maintainers
3
Versions
35
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @xstate/cli

### xstate typegen <files>


Version published
Weekly downloads
42K
decreased by-12%
Maintainers
3
Install size
38.6 MB
Created
Weekly downloads
 

Readme

Source

Commands

xstate typegen

xstate typegen "src/**/*.ts?(x)"

Run the typegen against a glob. This will scan every file targeted, and generate a typegen file accompanying it. It will also import the typegen into your file, as described in our typegen documentation.

Options

--watch

Runs the task on a watch, monitoring for changed files and running the typegen script against them.

Experimental: xstate sky

xstate sky "src/**/*.ts?(x)"

This will scan through the source files and update any Stately Sky-compatible code.

FAQs

Last updated on 05 Jan 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc