# ts-print

> Biblioteca útil para debug em node, com cores e datas formatadas, se propõe a ser intuitiva.

Latest version **2.4.0** (published 2023-11-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install ts-print
pnpm add ts-print
yarn add ts-print
bun add ts-print
```

## Health

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

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.4.0 |
| Published | 2023-11-20 |
| First published | 2022-01-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 24.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Marcus Yoda |
| Maintainers | marcusyoda |

## Links

- npm: https://www.npmjs.com/package/ts-print
- Repository: https://github.com/aceleracloud/ts-print
- Homepage: https://github.com/aceleracloud/ts-print#readme
- Issues: https://github.com/aceleracloud/ts-print/issues
- npm.io page: https://npm.io/package/ts-print

## Recent versions

- 2.4.0 (latest) — 2023-11-20
- 2.3.0 — 2023-10-07
- 2.2.1 — 2023-08-27
- 2.2.0 — 2023-08-27
- 2.1.6 — 2023-08-26
- 2.1.5 — 2023-08-26
- 2.1.4 — 2023-08-26
- 2.1.3 — 2023-08-26
- 2.1.2 — 2023-08-26
- 2.1.1 — 2023-08-26
- 2.1.0 — 2023-08-26
- 2.0.0 — 2023-08-26
- 1.1.2 — 2022-02-23
- 1.1.1 — 2022-02-23
- 1.1.0 — 2022-01-27
- … 10 more at https://npm.io/package/ts-print/versions

## README

# TS-PRINT

Useful library for debugging in node, with formatted colors and dates, is intended to be intuitive.

![GitHub package.json version](https://img.shields.io/github/package-json/v/marcusyoda/ts-print)
![Libraries.io dependency status for latest release, scoped npm package](https://img.shields.io/librariesio/release/npm/ts-print) ![npm](https://img.shields.io/npm/dy/ts-print)
[![](https://img.shields.io/github/languages/code-size/badges/shields.svg)](https://github.com/marcusyoda/ts-print)
[![](https://img.shields.io/github/last-commit/google/skia.svg)](https://github.com/marcusyoda/ts-print)
![GitHub Repo stars](https://img.shields.io/github/stars/marcusyoda/ts-print)
![GitHub issues](https://img.shields.io/github/issues/marcusyoda/ts-print)

## TECHNOLOGY:

![LINUX](https://img.shields.io/badge/Linux-FCC624?style=flat-square&logo=linux&logoColor=black)
![WINDOWS](https://img.shields.io/badge/Windows-navy?style=flat-square&logo=windows&logoColor=white)
![DOCKER](https://img.shields.io/badge/-Docker-2496ED?style=flat-square&logo=docker&logoColor=white)
![TYPESCRIPT](https://img.shields.io/badge/TypeScript-2d79c7?style=flat-square&logo=typescript&logoColor=white)
![JAVASCRIPT](https://img.shields.io/badge/-JavaScript-black?style=flat-square&logo=javascript&logoColor=yellow)
![NODE](https://img.shields.io/badge/-Nodejs-339933?style=flat-square&logo=Node.js&logoColor=white)

## WHO SHOULD USE:

Any developer who needs clean and well-formatted messages in the terminal.

## AUTHOR

**Marcus Yoda
[@marcusyoda](https://github.com/marcusyoda)**

_Prototype development, final version and testing._

## GETTING STARTED:

First you need to install with npm or yarn...

```bash
npm install --save ts-print
```

```bash
yarn add ts-print
```

...then you can show any type of message:

```js
import Print from 'ts-print'

Print().br()
Print('Faça ou não faça, tentativa não há!').info()
Print('Faça ou não faça, tentativa não há!').notice()
Print().br()
Print('Faça ou não faça, tentativa não há!').warn()
Print().br()
Print('Faça ou não faça, tentativa não há!').fail()
Print('Faça ou não faça, tentativa não há!').err()
Print().br()
Print('Faça ou não faça, tentativa não há!').success()
Print('Faça ou não faça, tentativa não há!').ok()
Print().br()
```

### POWERSHELL - Windows 11

Resultado no PowerShell, usando o Windows 11:
![SAMPLE-TERMINAL](https://raw.githubusercontent.com/marcusyoda/ts-print/main/screenshots/powershell-win11-terminal.png)

### BASH - Ubuntu 18.04

![SAMPLE-TERMINAL](https://raw.githubusercontent.com/marcusyoda/ts-print/main/screenshots/wsl_ubuntu_18-win11-terminal.png)

## VERSIONING

Versioning [SemVer](http://semver.org/).
To view the available versions, look at: [tags on this repository](https://github.com/marcusyoda/ts-print/tags).

## DEPENDENDENCIES:

- Proudly, running with no dependencies.

## LICENSE:

Developed by Marcus Yoda, during javascript research and study.

- [MIT License](https://github.com/marcusyoda/ts-print/blob/master/LICENSE)

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