Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including cli-rxss with all npm packages installed. Try it out:

var cliRxss = require("cli-rxss")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

cli-rxss v1.8.5

Cli for white-label app

README

RXSS Generator

The rxss generator generates components, class-components, containers, & stores based off of react and mobx. It is assumed that the file structure is the following

. [project folder]
+-- src
| +-- components
| +-- containers 
| +-- stores

Installing

npm -i cli-rxss -D or yarn add cli-rxss -D npm link cli-rxss

Commands

rxss -g [type] -n [name]

The name must either be all lower case or snake-case-syntax in order to name the files properly

Available Types

  • component -> Creates a functional react component with spec file.
  • component:mobx -> Creates a functional react component wrapped in mobx-react observer with spec file.
  • class-component -> Creates a class based react component with spec file.
  • class-component:mobx -> Creates a class based react component wrapped in mobx-react observer with spec file.
  • container -> Creates a container react component with spec file.
  • container:mobx -> Creates a container react component wrapped in mobx-react observer with spec file.
  • store -> Creates a mob-x store with spec file.

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free