Y-SweetAPI Referencecreate-y-sweet-app

The create-y-sweet-app command-line tool allows you to create a new project in your choice of framework, with Y-Sweet already set up — fully ready to build a collaborative multiplayer app! It’s the easiest way to get a Y-Sweet application up and running.

Create a new project by running:

npx create-y-sweet-app@latest

You’ll be asked for the name of your project and then prompted to choose a framework.

While Y-Sweet works with any web stack, create-y-sweet-app includes quick-start templates for Next.js and Remix.

OptionDescription
-h or --helpShow all options
-f or --frameworkThe web framework to use
Built by Jamsocket.