# recreate-plugin-print

> pretty print plugin for recreate

Latest version **1.0.1** (published 2017-02-22) · 0 weekly downloads

## Install

```sh
npm install recreate-plugin-print
pnpm add recreate-plugin-print
yarn add recreate-plugin-print
bun add recreate-plugin-print
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2017-02-22 |
| First published | 2017-01-31 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | siddharthkp |
| Maintainers | siddharthkp |

## Links

- npm: https://www.npmjs.com/package/recreate-plugin-print
- Repository: https://github.com/practo/recreate
- Homepage: https://github.com/practo/recreate/plugin-system/_print#readme
- Issues: https://github.com/practo/recreate/issues
- npm.io page: https://npm.io/package/recreate-plugin-print

## Dependencies (1)

- [chalk](https://npm.io/package/chalk.md) 1.1.3

## Recent versions

- 1.0.1 (latest) — 2017-02-22
- 1.0.0 — 2017-02-21
- 0.0.5 — 2017-01-31
- 0.0.4 — 2017-01-31
- 0.0.3 — 2017-01-31
- 0.0.1 — 2017-01-31

## README

### recreate-plugin-print

Pretty print for the terminal

Use this so that your plugin looks consistent with the rest of the experience.

&nbsp;

####  Usage

```js

// Require what you need from recreate-plugin-print

const {info, warn} = require('recreate-plugin-print');

/*

  There are 6 functions:

  Print to stdout:
  1. info: (label, message)
  2. loading: (label, message)
  3. warning: (message)
  4. error: (message)

  Returns pretty string (does not print)
  5. command: (command)
  6. link: (url)

*/

if (!process.env.PRODUCTION) info('BUILD', 'Running dev stuff');
else {
  let prettyCommand = command('npm run dev')
  warn('This is production mode! Run this in dev ' + prettyCommand);

```

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