# consolove

> Logging with ❤️

Latest version **0.0.3** (published 2022-03-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install consolove
pnpm add consolove
yarn add consolove
bun add consolove
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2022-03-12 |
| First published | 2021-11-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 7 |
| Unpacked size | 1.5 MB |
| Known vulnerabilities | 0 (+23 in 1 direct dependencies) |
| Install scripts | no |
| Author | Radim Štěpaník |
| Maintainers | kinapets |

## Links

- npm: https://www.npmjs.com/package/consolove
- npm.io page: https://npm.io/package/consolove

## Dependencies (7)

- [cors](https://npm.io/package/cors.md) ^2.8.5
- [axios](https://npm.io/package/axios.md) ^0.26.1
- [dotenv](https://npm.io/package/dotenv.md) ^10.0.0
- [lodash](https://npm.io/package/lodash.md) ^4.17.21
- [express](https://npm.io/package/express.md) ^4.17.1
- [body-parser](https://npm.io/package/body-parser.md) ^1.19.0
- [@mswjs/interceptors](https://npm.io/package/@mswjs/interceptors.md) ^0.15.1

## Recent versions

- 0.0.3 (latest) — 2022-03-12
- 0.0.2 — 2022-03-12
- 0.0.1 — 2021-11-17

## README

# ❤️ Consolove ❤️
For those who love console log. Main purpose of this package is better visualisation of console logs.

*👷 Important notice: It is under heavy development. In this phase of product you need to clone this github project to run consolove client.*
## Restrictions:
- only with typescript
- only for nodejs project
## Main features:
- visualization of console log
- UI for JSON
- automatic tracking of all requests

## Future
- plugin system - for db, queues or custom things
- easy start, developer experience - current state is not use friendly - we need to
- graphs
- compare
- predefined filters
- support of frontend development

## Usage
- add import of consolove into root of the project just  `import 'consolove'`
- start in `frontend` folder `npm run start`


If you need typescript starter pack for node.js development. You are on
right place. Repository contains only must have (for our point of view)
dependencies to build. The repository solves 4 main parts

- **Run in development mode** - we use `ts-node` as a typescript execution environment,
`dot-env` library for setting up environment variables
- **Run tests** there is a predefined way how to run tests with `jest`
- **Build application** - for build is used classic way of `tsc`
- **Run in production mode** - run compiled code

## List of used libraries

- `jest` for testing and code coverage
- `prettier`, `tslint` for code style checking
- `ts-node-dev` for running project in development mode (automatic restart on change)
- `pino-pretty` for nice console output

## Scripts

### Basic  scripts

- `yarn`
install dependencies
- `yarn build`
build application
- `yarn dev`
start development mode
- `yarn test`
run tests
- `yarn eslint:fix`
apply prettier rules for project
- `yarn start`
start compiled application

### Useful for CI/CD

- `yarn test:cover`
 check code coverage in project
- `yarn eslint:check`
 checking code style policies by prettier and eslint

### FAQ

**Where can env variables can be set?**

- For setting of env variables is used [dotenv package](https://www.npmjs.com/package/dotenv), there are .env files in `./config` folder

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