# fastify-generate

> Generate fastify applications fastly

Latest version **0.5.0** (published 2019-12-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install fastify-generate
pnpm add fastify-generate
yarn add fastify-generate
bun add fastify-generate
```

Provides the command `fastify`.

## 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.5.0 |
| Published | 2019-12-24 |
| First published | 2019-01-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 6 |
| Dependencies | 4 |
| Unpacked size | 343.5 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Arniu Tseng |
| Maintainers | arniu |
| Keywords | fastify, generator, generate, plugin, app, api |

## Links

- npm: https://www.npmjs.com/package/fastify-generate
- Repository: https://github.com/arniu/fastify-generate
- npm.io page: https://npm.io/package/fastify-generate

## Dependencies (4)

- [chalk](https://npm.io/package/chalk.md) ^3.0.0
- [generify](https://npm.io/package/generify.md) ^4.0.0
- [decamelize](https://npm.io/package/decamelize.md) ^3.0.0
- [yargs-parser](https://npm.io/package/yargs-parser.md) ^16.0.0

## Recent versions

- 0.5.0 (latest) — 2019-12-24
- 0.4.0 — 2019-01-30
- 0.3.2 — 2019-01-12
- 0.3.0 — 2019-01-10
- 0.2.0 — 2019-01-09
- 0.1.1 — 2019-01-07
- 0.1.0 — 2019-01-07
- 0.0.6 — 2019-01-06
- 0.0.5 — 2019-01-05
- 0.0.4 — 2019-01-04
- 0.0.3 — 2019-01-04
- 0.0.2 — 2019-01-03
- 0.0.1 — 2019-01-03

## README

# Generate [fastify](https://www.npmjs.com/package/fastify) applications fastly

[![NPM](https://img.shields.io/npm/v/fastify-generate.svg)](https://www.npmjs.com/package/fastify-generate)
[![Build](https://travis-ci.org/arniu/fastify-generate.svg)](https://travis-ci.org/arniu/fastify-generate)
[![Standard](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
[![Prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://prettier.io/)
[![Greenkeeper](https://badges.greenkeeper.io/arniu/fastify-generate.svg)](https://greenkeeper.io/)

## Installation

```sh
npm install -g fastify-generate
```

## Quick Start

The quickest way to get started with fastify is to utilize the executable `fastify(1)` to generate an application as shown below:

Create the app:

```sh
fastify path/to/app && cd path/to/app
```

Install dependencies:

```sh
npm install
```

Start the app at `http://localhost:3030/`:

```sh
npm start
```

## Examples

1. Create a fastify app:

```sh
fastify path/to/app
```

2. Create a fastify plugin:

```sh
fastify -P path/to/plugin
```

3. Add more option for creating the app:

```sh
fastify -F v1.0 -p 3030 path/to/app
```

## Command Line Options

```
Options:
    -h, --help          output usage information
    -v, --version       output the version number

For Generating:
    -P, --plugin        generate a fastify plugin
    -F, --fastify       specify fastify version
    -p, --port          specify the port to use
```

## License

[MIT](LICENSE)

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