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 generator-channelape with all npm packages installed. Try it out:

generator-channelape lists no main file and has no index.js, so it can't be directly required. If this is a mistake, please let us know. It may however contain internal files that you can require manually:

// require("generator-channelape/[??]")

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

generator-channelape v0.2.2

Scaffold Node TypeScript Web Application to accept webhooks from ChannelApe.

generator-channelape

Scaffold Node TypeScript Web Application to accept webhooks from ChannelApe.

Install

$ npm install --global yo generator-channelape

Usage

With yo:

$ yo channelape

The following is an example of an advanced command:

$ yo channelape api-key-123 --open --staging --channelape

It will:

  1. Create a new repository and base project in your current directory.
  2. Put api-key-123 in your .env and .env.example files
  3. Open the current directory in VSCode.
  4. Prepare your .env and .env.example files for use with the ChannelApe staging environment
  5. Prepare your package authorship to be ChannelApe with your current git name and email set as a contributor.
  6. Install NPM dependencies in the newly generated project.

There are multiple command-line options available:

$ yo channelape --help

  Usage:
  yo channelape:app [options] [<channelApeApiKey>]

Options:
  -h,    --help          # Print the generator's options and usage
         --skip-cache    # Do not remember prompt answers                                                  Default: false
         --skip-install  # Do not automatically install dependencies                                       Default: false
  -ca,   --channelape    # This is a private module owned by ChannelApe
  -o,    --open          # Open the repository in VSCode
  -s,    --staging       # Prep the environment variables for use with the ChannelApe staging environment

Arguments:
  channelApeApiKey  # The key used to access the ChannelApe API  Type: String  Required: false

The --org option takes a string value (i.e. --org=avajs). All others are boolean flags and can be negated with the no prefix (i.e. --no-codecov). You will be prompted for any options not passed on the command-line.

Use Cases

Common Platform & SDK Use Cases:

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