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: about 1 month ago
JSON representation
Output logger for `https://shields.io/` style.
- Host: GitHub
- URL: https://github.com/afeiship/shields-log
- Owner: afeiship
- License: mit
- Created: 2020-01-10T15:19:29.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-11-05T06:50:51.000Z (over 5 years ago)
- Last Synced: 2025-10-21T13:21:30.402Z (8 months ago)
- Topics: badge, color, colorful, console, log, logger, npm, shields, slog, tag
- Language: JavaScript
- Homepage:
- Size: 693 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
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