Skip to content

Commit

Permalink
feat: (chore) 1.2.2 update
Browse files Browse the repository at this point in the history
  • Loading branch information
devdeem committed Oct 26, 2023
1 parent f1d6712 commit 97d6d14
Show file tree
Hide file tree
Showing 42 changed files with 721 additions and 9,854 deletions.
5 changes: 1 addition & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
node_modules/
test/
package-lock.json
docREADME.md
node_modules/
5 changes: 1 addition & 4 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
node_modules/
test/
package-lock.json
docREADME.md
docs/
test/
3 changes: 2 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"printWidth": 100,
"singleQuote": true,
"printWidth": 120,
"tabWidth": 2
}
172 changes: 159 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,167 @@
![banner](https://cdn.discordapp.com/attachments/1050740855805313064/1125727738410573894/Logo.png)
<div align="center">
<img alt="TermLogger-Banner" src="./media/Banner.png" />
</div>

# TERM LOGGER
<h1 align="center">TERM LOGGER</h1>
<p align="center">A simple node logger with custom formatted console logs!</p>

Custom formatted **Console Logs** and **Anti-Crash** system for your Discord bot!
<p align="center">
<a href="https://www.npmjs.com/package/term-logger">
<img alt="version" src="https://img.shields.io/npm/v/term-logger" />
</a>
<a href="https://www.npmjs.com/package/term-logger">
<img alt="collaborators" src="https://img.shields.io/npm/collaborators/term-logger" />
</a>
<a href="https://www.npmjs.com/package/term-logger">
<img alt="downloads" src="https://img.shields.io/npm/dt/term-logger" />
</a>
<a href="https://www.npmjs.com/package/term-logger">
<img alt="licence" src="https://img.shields.io/npm/l/term-logger" />
</a>
</p>

![version](https://img.shields.io/npm/v/term-logger)
![collaborators](https://img.shields.io/npm/collaborators/term-logger)
![downloads](https://img.shields.io/npm/dt/term-logger)
![licence](https://img.shields.io/npm/l/term-logger)
<h1>Getting Started</h1>
<h2>Installation</h2>
<ul>
<li>To install term-logger package simply run this command in cmd:</li>
</ul>

# Documentation
```
npm install term-logger@latest
```

Documentation on how to use the **term-logger** package can be found [here](https://devdeem.github.io/term-logger)!
<h2>Usage</h2>
<h4>Logger Options</h4>
<ul>
<li>Import term-logger and start using any of the default loggers and colors.</li>
</ul>

# Sponsor Us
<details>
<summary>View all of the available loggers.</summary>

Do you use **Term-Logger** and are you satisfied?
You can support us with a one-time donation to help us improve our work: [Donate here](https://ko-fi.com/deemdev).
<br />

> Developed by @deemdev with ❤️
- `error`
- `success`
- `warn`
- `await`
- `complete`
- `debug`
- `fatal`
- `info`
- `note`
- `pending`
- `start`
- `watch`
- `critical`
- `ready`
- `command`
- `event`
- `database`
- `shard`
- `cluster`
- `log`
</details>

<br />

```js
const { Logger } = require('term-logger');

Logger.error(new Error('...'));
Logger.success('...');
// and 18 more logs...
```

<h4>Colors Options</h4>

<details>
<summary>View all of the available colors.</summary>

<br />

- `red`
- `green`
- `yellow`
- `blue`
- `purple`
- `cyan`
- `white`
- `gray`
- `grey`
- `brightRed`
- `brightGreen`
- `brightYellow`
- `brightBlue`
- `brightPurple`
- `brightCyan`
- `brightWhite`
- `bgRed`
- `bgGreen`
- `bgYellow`
- `bgBlue`
- `bgPurple`
- `bgCyan`
- `bgWhite`
- `bgGrey`
</details>

<br />

```js
const { TextColors, BrightColors, BgColors } = require('term-logger');

TextColors.red('...');
TextColors.blue('...');
// and 7 more colors...

BrightColors.brightWhite('...');
BrightColors.brightYellow('...');
// and 5 more bright colors...

BgColors.bgGreen('...');
BgColors.bgRed('...');
// and 6 more background colors...
```

<h4>TextStyles Options</h4>

<details>
<summary>View all of the available text styles.</summary>

<br />

- `bold`
- `italic`
- `underline`
- `inverse`
- `strikethrough`
- `rainbow`
- `america`
- `trap`
- `random`
</details>

<br />

```js
const { TextStyles } = require('term-logger');

TextStyles.italic('...');
TextStyles.underline('...');
// and 7 more text styles...
```

<h2>Do you have any issues?</h2>
<p>
If you have any issues don't hesitate to report it via
<a href="https://github.com/devdeem/term-logger/issues">GitHub Issues</a>.
</p>

<h2>Sponsor Us ❤️</h2>
<p>
Do you use <b>Term Logger</b> and are you satisfied?<br>You can support us with a one-time donation to help us improve our
work <a href="https://ko-fi.com/deemdev">here</a>.
</p>

<footer>> Developed by <b>@deemdev</b> with ❤️</footer>
1 change: 0 additions & 1 deletion docs/data/search.json

This file was deleted.

Binary file removed docs/fonts/Inconsolata-Regular.ttf
Binary file not shown.
Binary file removed docs/fonts/OpenSans-Regular.ttf
Binary file not shown.
Binary file removed docs/fonts/WorkSans-Bold.ttf
Binary file not shown.
46 changes: 0 additions & 46 deletions docs/index.html

This file was deleted.

Loading

0 comments on commit 97d6d14

Please sign in to comment.