# strapi-repl

> Strapi REPL console with improved features

Latest version **0.0.3** (published 2020-07-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install strapi-repl
pnpm add strapi-repl
yarn add strapi-repl
bun add strapi-repl
```

Provides the command `strapi-repl`.

## 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.0.3 |
| Published | 2020-07-03 |
| First published | 2020-06-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Philipp Staender |
| Maintainers | pstaender |
| Keywords | strapi, repl, console |

## Links

- npm: https://www.npmjs.com/package/strapi-repl
- Repository: https://github.com/pstaender/strapi-repl
- Issues: https://github.com/pstaender/strapi-repl/issues
- npm.io page: https://npm.io/package/strapi-repl

## Dependencies (2)

- [v8flags](https://npm.io/package/v8flags.md) ^3.2.0
- [flagged-respawn](https://npm.io/package/flagged-respawn.md) ^1.0.1

## Recent versions

- 0.0.3 (latest) — 2020-07-03
- 0.0.2 — 2020-06-28
- 0.0.1 — 2020-06-27

## README

# Strapi REPL
## Console for your strapi app

Strapi has a built in console (`strapi console`). However, compared to the built-in console, this repl has the following features:

  * await support
  * `.reload` reloads your app (helpful in development)
  * only runs a REPL (and doesn't start your webservice as well)


## Installation

```sh
  $ npm install -g strapi-repl
```

## Run

In any strapi project:

```sh
  $ strapi-repl
```

## Example usage

```sh
  strapi > await strapi.query('user', 'users-permissions').findOne()
  {
    username: 'exampleuser',
    …
  }
  strapi > .reload
  reloading... done
  strapi > .exit
```

## License

MIT

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