# racoon-cli

> Express Aplication Project Generator

Latest version **0.3.1** (published 2020-08-15) · ISC license · 0 weekly downloads

## Install

```sh
npm install racoon-cli
pnpm add racoon-cli
yarn add racoon-cli
bun add racoon-cli
```

Provides the command `racoon`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.3.1 |
| Published | 2020-08-15 |
| First published | 2020-08-05 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 64.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Erick Blanco |
| Maintainers | erickblanco |
| Keywords | express, cli, generator, typescript, javascript, web, rest, api, metaprogramming |

## Links

- npm: https://www.npmjs.com/package/racoon-cli
- Repository: https://github.com/ErickJBS/racoon-cli
- Homepage: https://github.com/ErickJBS/racoon-cli#readme
- Issues: https://github.com/ErickJBS/racoon-cli/issues
- npm.io page: https://npm.io/package/racoon-cli

## Dependencies (5)

- [ora](https://npm.io/package/ora.md) ^4.1.0
- [chalk](https://npm.io/package/chalk.md) ^4.1.0
- [yargs](https://npm.io/package/yargs.md) ^15.4.1
- [shelljs](https://npm.io/package/shelljs.md) ^0.8.4
- [handlebars](https://npm.io/package/handlebars.md) ^4.7.6

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 0.3.1 (latest) — 2020-08-15
- 0.3.0 — 2020-08-15
- 0.2.3 — 2020-08-15
- 0.2.2 — 2020-08-14
- 0.2.1 — 2020-08-12
- 0.2.0 — 2020-08-11
- 0.1.2 — 2020-08-07
- 0.1.1 — 2020-08-06
- 0.1.0 — 2020-08-05

## README

<img src="https://i.ibb.co/xCzcwH3/racoon-text.png" alt="Racoon Logo" />

## Description

Racoon CLI is a command-line interface tool that initializes and helps you create components for [ExpressJS](https://expressjs.com/es/) applications. You can generate JavaScript and TypeScript projects and automatically generate controllers, services and middlewares, maintaining consistency and structure.

## Installation

```bash
$ npm install -g racoon-cli
```

## Usage

1. Create new ExpressJS project:
```bash
$ racoon new PROJECT_NAME [--path=APP_CONTEXT] [--lang=LANGUAGE]
```
* Replace `PROJECT_NAME` with _the name of your project_.
* Replace `APP_CONTEXT` with _base path of your project_ (default='').
* Replace `LANGUAGE` with _the language of your project_. (default='javascript').


2. Generate new component:
```bash
$ racoon generate COMPONENT NAME [--path=ROUTE]
```
* Replace `COMPONENT` with _controller, service or middleware_.
* Replace `NAME` with _the name of your component.
* Replace `ROUTE` with _the route of your controller_ (default is your component name). Controller only.

---
_Source: https://npm.io/package/racoon-cli · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
