# prettyput

> Print Object,String,Array into console

Latest version **0.0.3** (published 2014-12-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install prettyput
pnpm add prettyput
yarn add prettyput
bun add prettyput
```

## 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 | 2014-12-29 |
| First published | 2014-12-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Ryo Narita |
| Maintainers | cakecatz |

## Links

- npm: https://www.npmjs.com/package/prettyput
- Repository: https://github.com/cakecatz/prettyput
- Issues: https://github.com/cakecatz/prettyput/issues
- npm.io page: https://npm.io/package/prettyput

## Recent versions

- 0.0.3 (latest) — 2014-12-29
- 0.0.2 — 2014-12-28
- 0.0.1 — 2014-12-28

## README

#Usage
Put `var p = require('prettyput')` into your source code.  
###For String,Object,Array... 
    p.p(obj);
    p.pp([str,obj,arr]);
Output is just like console.log.  

###For Object  
    var obj =
    {
      a:'A',
      b:'B',
      c:{
        d:'D',
        e:{
          f:'F'
        }
      }
    }
    p.o(obj);

output

    {
      a:A
      b:B
      c:{
        d:D
        e:{
          f:F
        }
      }
    }

###For Array  
    var arr = [6,4,3,9,5]
    p.a(arr);

output

    [0] -> 6
    [1] -> 4
    [2] -> 3
    [3] -> 9
    [4] -> 5


###For Error
    p.e(err);

Check err value and output it when err contain some value.

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