# fallout-utility

> fallout-utility

Latest version **2.9.1** (published 2024-05-29) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install fallout-utility
pnpm add fallout-utility
yarn add fallout-utility
bun add fallout-utility
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 2.9.1 |
| Published | 2024-05-29 |
| First published | 2021-10-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 5 |
| Unpacked size | 74.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | FalloutStudios |
| Maintainers | catplusplus |
| Keywords | fallout, fallout-utility, falloutstudios, utility |

## Links

- npm: https://www.npmjs.com/package/fallout-utility
- Repository: https://github.com/FalloutStudios/Fallout-utility
- Homepage: https://github.com/FalloutStudios/Fallout-utility#readme
- Issues: https://github.com/FalloutStudios/Fallout-utility/issues
- npm.io page: https://npm.io/package/fallout-utility

## Dependencies (5)

- [kleur](https://npm.io/package/kleur.md) ^4.1.5
- [type-fest](https://npm.io/package/type-fest.md) ^4.18.2
- [ansi-regex](https://npm.io/package/ansi-regex.md) ^5.0.1
- [prompt-sync](https://npm.io/package/prompt-sync.md) ^4.2.0
- [split-string](https://npm.io/package/split-string.md) ^6.1.0

## Alternatives

- [lodash.assign](https://npm.io/package/lodash.assign.md) — 2.3M weekly downloads
- [lodash.chunk](https://npm.io/package/lodash.chunk.md) — 1.8M weekly downloads
- [react-native-ios-utilities](https://npm.io/package/react-native-ios-utilities.md) — 138.5K weekly downloads
- [@technically/lodash](https://npm.io/package/@technically/lodash.md) — 50.9K weekly downloads
- [@fluid-topics/ft-icon](https://npm.io/package/@fluid-topics/ft-icon.md) — 20.6K weekly downloads

## Recent versions

- 2.9.1 (latest) — 2024-05-29
- 1.5.22 (legacy) — 2022-12-28
- 2.9.0 — 2024-05-23
- 2.8.0 — 2023-11-04
- 2.7.1 — 2023-08-05
- 2.7.0 — 2023-07-17
- 2.6.0 — 2023-07-02
- 2.5.2 — 2023-06-26
- 2.5.1 — 2023-05-23
- 2.5.0 — 2023-05-13
- 2.4.3 — 2023-04-24
- 2.4.2 — 2023-04-23
- 2.4.1 — 2023-04-19
- 2.4.0 — 2023-04-14
- 2.3.0 — 2023-03-21
- … 71 more at https://npm.io/package/fallout-utility/versions

## README

<h1 align="center">
    fallout-utility
    <br>
</h1>

<h3 align="center">
    <a href="https://npmjs.org/package/fallout-utility">
        <img src="https://img.shields.io/npm/v/fallout-utility?label=npm">
    </a>
    <a href="https://github.com/thenorthsolution/fallout-utility">
        <img src="https://img.shields.io/npm/dt/fallout-utility?maxAge=3600">
    </a>
    <br>
    <div style="padding-top: 1rem">
        <a href="https://discord.gg/https://discord.gg/2QTnr78C7R">
            <img src="https://discord.com/api/guilds/993105237000855592/embed.png?style=banner2">
        </a>
    </div>
</h3>


```
npm i fallout-utility
yarn add fallout-utility
pnpm add fallout-utility
```

### Quick start
<details>
    <summary>CommonJs</summary>

```js
const util = require("fallout-utility");
```
</details>
<details>
    <summary>ES Modules</summary>

```js
import utils from "fallout-utility";
```
</details>

### Logger Usage

```js
import { Logger } from 'fallout-utility/Logger';

const logger = new Logger();

// Log to file
await logger.createFileWriteStream({
    file: './logs/latest.log'
});

// Logs like console.log but also puts content to a file
logger.log('Fallout util');

// Other log methods
logger.warn(`Warning!`); // alias for logger.warning
logger.warning(`Warning!`);

logger.err(`Error!`); // alias for logger.error
logger.error(`Error!`);

logger.debug(`Debug!`); // Logs messages only on debug mode
```

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