An open API service indexing awesome lists of open source software.

https://github.com/afeiship/shields-log

Output logger for `https://shields.io/` style.
https://github.com/afeiship/shields-log

badge color colorful console log logger npm shields slog tag

Last synced: 28 days ago
JSON representation

Output logger for `https://shields.io/` style.

Awesome Lists containing this project

README

          





# shields-log
> Output logger for `https://shields.io/` style.

[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]

## installation
```shell
npm install -S shields-log
```

## usage
```js
const slog = require('shields-log');

slog({ title: 'Platform', content: 'MacOs' });
```

## colors
| key | value |
| ------------ | ------- |
| brightgreen | #52c435 |
| green | #97c232 |
| yellowgreen | #a1a237 |
| yellow | #d7af3b |
| orange | #f17f4a |
| red | #d5624f |
| blue | #2082bf |
| lightgrey | #9e9e9e |
| success | #52c434 |
| important | #f17f4a |
| critical | #d56250 |
| infomational | #2183c0 |
| inactive | #9e9e9e |
| blueviolet | #8b42d9 |

## resources
- https://shields.io/category/size

## license
Code released under [the MIT license](https://github.com/afeiship/shields-log/blob/master/LICENSE.txt).

[version-image]: https://img.shields.io/npm/v/shields-log
[version-url]: https://npmjs.org/package/shields-log

[license-image]: https://img.shields.io/npm/l/shields-log
[license-url]: https://github.com/afeiship/shields-log/blob/master/LICENSE.txt

[size-image]: https://img.shields.io/bundlephobia/minzip/shields-log
[size-url]: https://github.com/afeiship/shields-log/blob/master/dist/shields-log.min.js

[download-image]: https://img.shields.io/npm/dm/shields-log
[download-url]: https://www.npmjs.com/package/shields-log