# konsolelog

> simple utility function that helps you debug your JS code in a better way.

Latest version **1.0.0** (published 2019-11-03) · ISC license · 0 weekly downloads

## Install

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

## 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.0 |
| Published | 2019-11-03 |
| First published | 2019-11-03 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Hrishikesh rai |
| Maintainers | sskywalker |
| Keywords | Debug, js, log, better, console.log, error, stack |

## Links

- npm: https://www.npmjs.com/package/konsolelog
- Repository: https://github.com/SskYwaLkeR/better-logger
- Homepage: https://github.com/SskYwaLkeR/better-logger#readme
- Issues: https://github.com/SskYwaLkeR/better-logger/issues
- npm.io page: https://npm.io/package/konsolelog

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 1.0.0 (latest) — 2019-11-03

## README

# What is this ?

    konsolelog is a simple utility function that helps you debug your JS code in a better way.

# Installation

    `npm install konsolelog --save`


# Example 1

```

    import konsolelog from 'konsolelog'

    var API_data = {
        name: 'Hrishikesh',
        github: 'sskywalker'
    };
    
    //normal logging

    console.log(`Api data1 : ${API_data}`); 
        //Api data1 : [object Object]

    //with konsolelog

    konsolelog `Api data1 : ${API_data}`
        //Api data1 : {name: 'hrishikesh' , github: 'sskywalker'}


```

# Example 2

```

    import konsolelog from 'konsolelog'

    try{
        nothing();
    }
    catch(err){
        konsolelog `Error : ${err}`; 
         // Error : ReferenceError : nothing is not defined at <Your error stack>
    }

```

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