# plop-node-express

> Plop generator for Node + Express apps

Latest version **0.1.4** (published 2016-11-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install plop-node-express
pnpm add plop-node-express
yarn add plop-node-express
bun add plop-node-express
```

## 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.1.4 |
| Published | 2016-11-02 |
| First published | 2016-10-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Carlos Alcaide |
| Maintainers | calcaide |
| Keywords | Plop, node, express, nodemon, generator, ES6, babel, ESLint |

## Links

- npm: https://www.npmjs.com/package/plop-node-express
- Repository: https://github.com/calcaide/plop-node-express
- Homepage: https://github.com/calcaide/plop-node-express#readme
- Issues: https://github.com/calcaide/plop-node-express/issues
- npm.io page: https://npm.io/package/plop-node-express

## Alternatives

- [eslint-plugin-sonarjs](https://npm.io/package/eslint-plugin-sonarjs.md) — 2.9M weekly downloads
- [eslint-config-expo](https://npm.io/package/eslint-config-expo.md) — 1.5M weekly downloads
- [@matter/protocol](https://npm.io/package/@matter/protocol.md) — 63.5K weekly downloads
- [@eventcatalog/linter](https://npm.io/package/@eventcatalog/linter.md) — 24.8K weekly downloads
- [@pandacss/eslint-plugin](https://npm.io/package/@pandacss/eslint-plugin.md) — 18.7K weekly downloads

## Recent versions

- 0.1.4 (latest) — 2016-11-02
- 0.1.3 — 2016-10-22
- 0.1.2 — 2016-10-22
- 0.1.1 — 2016-10-22

## README

# Plop Node + Express generator
[Plop][Plop] generator for Node + Express apps coding in ES6.

## Requirements
The first requirement is to have isntalled [Node](https://nodejs.org/en/download/).

Then install [Plop][Plop] globally `$ npm install -g plop`.

## Usage
First, you should install the generator: `$ npm install plop-node-express`.

Create in the root of your project a `plopfile.js` with this content:

```javascript
module.exports = require('plop-node-express');
```

In the terminal, type: `$ plop`, this will be execute the generator.

Before start to develop, remember to install all the dependencies: `$ npm install`.

## Provided generator
The generator provides a fresh starting point for Node + Express project:

- [NPM](https://www.npmjs.com/) as a package manager and a task runner.
- [Babel](https://babeljs.io/) as a transpiler. **I use to work in ES6**.
- [ESLint](http://eslint.org/) as a linter.
- [Mocha](https://mochajs.org/) as a test framework, with [Chai](http://chaijs.com/) as assertion library and [Chai-http](https://github.com/chaijs/chai-http) as an extension for testing HTTP APIs.

### Commands available:

| Command | Action                                |
|---------|---------------------------------------|
| eslint  | Run ESLint on `src/` directory.       |
| test    | Run test framework.                   |
| dev     | Run the compilation (with [Babel](https://babeljs.io/) ) and a [nodemon](http://nodemon.io/) that restarts node at any change in the code. |
| build   | Run eslint task, test task, compile the code and output it at `dist/` dir. |
| start   | Run build task and start the app.     |

To run a command: `$ npm run <command>`.


[Plop]: https://github.com/amwmedia/plop

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