# @withtypes/figlet

> Figlet with types.

Latest version **0.1.0** (published 2023-01-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install @withtypes/figlet
pnpm add @withtypes/figlet
yarn add @withtypes/figlet
bun add @withtypes/figlet
```

## Health

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

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2023-01-30 |
| First published | 2023-01-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 14.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | chengpeiquan |
| Maintainers | chengpeiquan |
| Keywords | utils, figlet |

## Links

- npm: https://www.npmjs.com/package/@withtypes/figlet
- Repository: https://github.com/chengpeiquan/withtypes
- Homepage: https://github.com/chengpeiquan/withtypes/tree/main/packages/figlet
- Issues: https://github.com/chengpeiquan/withtypes/issues
- npm.io page: https://npm.io/package/@withtypes/figlet

## Dependencies (1)

- [figlet](https://npm.io/package/figlet.md) ^1.5.2

## Recent versions

- 0.1.0 (latest) — 2023-01-30

## README

# @withtypes/figlet

Figlet with types.

Merged [figlet](https://www.npmjs.com/package/figlet) and [@types/figlet](https://www.npmjs.com/package/@types/figlet) , install this package to get both, no other features.

## Why?

I got tired of having to install an additional `@types/**` package every time in my TypeScript project to support type inference for these utilities.

So I merged them, but in fact, after installing this package, the original package will still be installed implicitly, and all functions are provided by the original package.

## Installation

Install the package from npm (or yarn, or pnpm).

```bash
# Just install this package
npm i @withtypes/figlet
```

This replaces the original problem of needing to install twice:

```bash
# No need to install this now
npm i figlet
npm i -D @types/figlet
```

## Usage

This package does not have its own function implementation, Just replace the package name in the `import` statement.

```diff
-import figlet from 'figlet'
+import figlet from '@withtypes/figlet'
```

So it is exactly the same APIs as the original package in use.

```ts
import figlet from '@withtypes/figlet'

figlet('Hello World!!', function (err, data) {
  if (err) {
    console.log('Something went wrong...')
    console.dir(err)
    return
  }
  console.log(data)
})
```

## Documentation

See: [Documentation of Figlet](https://github.com/patorjk/figlet.js#readme)

## License

MIT License © 2022 [chengpeiquan](https://github.com/chengpeiquan)

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