# byarutils

> Simple, powerful, lightweight helpers library to assist your projects

Latest version **0.1.13** (published 2024-03-30) · MIT license · 0 weekly downloads

## Install

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

## Health

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

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

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.13 |
| Published | 2024-03-30 |
| First published | 2023-09-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=10 |
| Dependencies | 1 |
| Unpacked size | 10.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Matis Byar |
| Maintainers | matisbyar |
| Keywords | utils, helpers, byarutils, error, errors, error handling, error handling helpers, logger, logging, logging helpers |

## Links

- npm: https://www.npmjs.com/package/byarutils
- Repository: https://github.com/matisbyar/byarutils
- Homepage: https://github.com/matisbyar/byarutils#readme
- Issues: https://github.com/matisbyar/byarutils/issues
- npm.io page: https://npm.io/package/byarutils

## Dependencies (1)

- [node-cron](https://npm.io/package/node-cron.md) ^3.0.2

## Alternatives

- [cli-color](https://npm.io/package/cli-color.md) — 3.4M weekly downloads
- [log](https://npm.io/package/log.md) — 1.3M weekly downloads
- [logstash-client](https://npm.io/package/logstash-client.md) — 4.5K weekly downloads
- [@nocobase/plugin-logger](https://npm.io/package/@nocobase/plugin-logger.md) — 2.0K weekly downloads
- [child-process-debug](https://npm.io/package/child-process-debug.md) — 695 weekly downloads

## Recent versions

- 0.1.13 (latest) — 2024-03-30
- 0.1.11 — 2024-03-30
- 0.1.10 — 2024-03-30
- 0.1.9 — 2024-03-30
- 0.1.8 — 2024-03-30
- 0.1.7 — 2024-03-30
- 0.1.5 — 2024-03-30
- 0.1.4 — 2024-03-30
- 0.1.3 — 2023-10-10
- 0.1.2 — 2023-09-25
- 0.1.1 — 2023-09-25
- 0.1.0 — 2023-09-25

## README

# byarutils

> Simple, powerful, lightweight helpers library to assist your projects

[![NPM](https://img.shields.io/npm/v/byarutils.svg)](https://www.npmjs.com/package/byarutils) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Install

```bash
npm install --save byarutils
```

## Usage

```jsx
import { log } from 'byarutils'
import { addToPool } from 'byarutils'

function send(to, subject, body) {
  try {
    // ...
    log('SUCCESS', 'Mail Sender Service', 'Mail sent successfully to: ' + to)
  } catch (error) {
    log('ERROR', 'Mail Sender Service', 'Mail sending failed to: ' + to)
    addToPool(send, [to, subject, body], 3)
  }
}

```

## License

MIT © [matisbyar](https://github.com/matisbyar)

## Thanks to contributors

- [Valentin Vanhove](https://github.com/vanhovev)

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