# console-awesome

> The modern Javascript Console

Latest version **0.0.1** (published 2017-09-11) · 0 weekly downloads

## Install

```sh
npm install console-awesome
pnpm add console-awesome
yarn add console-awesome
bun add console-awesome
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2017-09-11 |
| First published | 2017-09-11 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Angel Grablev |
| Maintainers | agrublev |
| Keywords | js, console, modern, pretty, style |

## Links

- npm: https://www.npmjs.com/package/console-awesome
- Repository: https://github.com/agrublev/ConsoleAwesome
- Issues: https://github.com/agrublev/ConsoleAwesome/issues
- npm.io page: https://npm.io/package/console-awesome

## Dependencies (1)

- [gulp](https://npm.io/package/gulp.md) ^3.9.1

## 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

- 0.0.1 (latest) — 2017-09-11

## README

Console Awesome 
=====
*The modern Javascript Console*
***
- light-weight library
- has NO DEPENDENCIES :)
- will make your console 10 times prettier than ever!

[![Open Source Love](https://badges.frapsoft.com/os/v1/open-source.svg?v=103)](https://github.com/ellerbrock/open-source-badges/)
[![MIT Licence](https://badges.frapsoft.com/os/mit/mit.png?v=103)](https://opensource.org/licenses/mit-license.php)

[![forthebadge](http://forthebadge.com/images/badges/gluten-free.svg)](http://forthebadge.com)
[![forthebadge](http://forthebadge.com/images/badges/built-with-love.svg)](http://forthebadge.com)
[![forthebadge](http://forthebadge.com/images/badges/60-percent-of-the-time-works-every-time.svg)](http://forthebadge.com)

Usages
-----

The console log replacement:

```$xslt
ca.l("some text",{object:"sure"},21313,"cool");
```
Works same as the console would, just less typing and comes out much prettier.
![ca.l](demo/images/simpleLog.png?raw=true "Simple log")

What if it's very important stuff?
```$xslt
ca.l("normal");
ca.s(); // awesome spacer!
ca.l("!more important");
ca.s(); // awesome spacer!
ca.l("!!very important");
ca.s(); // awesome spacer!
ca.l("!!!extremely important");
```
![ca.l](demo/images/importantLogs.png?raw=true "Important logs")

Notice for more important logs we even add  a line tracer!
![ca.l](demo/images/lineTrace.png?raw=true "Line Trace")

But what if you want to display a grouped number of consoles?

```$xslt
ca.g("My Group",'test',{obj:"sad"},2); // nicely grouped
ca.s(10);
ca.g("~My Group",'test',{obj:"sad"},2); // collapsed to save space
```
![ca.l](demo/images/grouped.png?raw=true "Line Trace")

As you can see it's highly beneficial to collapse a number of large variables (like a database ajax response) and only expand when needed.

The first string "My Group" is the title of the group. Adding ~ before the title indicates we want to collapse it.

And also notice the .s (spacer) can be passed a value allowing you to add more or less spacing between items.



Contributing
-----

Interested in contributing features and fixes?

[Read more on contributing](./CONTRIBUTING.md).

Changelog
-----

See the [Changelog](https://github.com/agrublev/ConsoleAwesome)

License
-----

Copyright (c) 2017 Angel Grablev, https://freedcamp.com
Licensed under the [MIT license](http://opensource.org/licenses/MIT).

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