# @darkobits/saffron

> Yargs + Cosmiconfig for robust, configurable CLIs.

Latest version **0.32.20** (published 2025-02-16) · Hippocratic license · 0 weekly downloads

## Install

```sh
npm install @darkobits/saffron
pnpm add @darkobits/saffron
yarn add @darkobits/saffron
bun add @darkobits/saffron
```

## Health

**Score 45/100 (D)** — status: stable.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 0.32.20 |
| Published | 2025-02-16 |
| First published | 2019-11-06 |
| Weekly downloads | 0 |
| License | Hippocratic |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=16 |
| Dependencies | 12 |
| Unpacked size | 56.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | darkobits |
| Maintainers | darkobits |

## Links

- npm: https://www.npmjs.com/package/@darkobits/saffron
- Repository: https://github.com/darkobits/saffron
- Homepage: https://github.com/darkobits/saffron#readme
- Issues: https://github.com/darkobits/saffron/issues
- npm.io page: https://npm.io/package/@darkobits/saffron

## Dependencies (12)

- [yargs](https://npm.io/package/yargs.md) ^17.7.2
- [esbuild](https://npm.io/package/esbuild.md) ^0.25.0
- [deepmerge](https://npm.io/package/deepmerge.md) ^4.3.1
- [cosmiconfig](https://npm.io/package/cosmiconfig.md) ^9.0.0
- [read-pkg-up](https://npm.io/package/read-pkg-up.md) ^10.1.0
- [@types/yargs](https://npm.io/package/@types/yargs.md) ^17.0.33
- [get-tsconfig](https://npm.io/package/get-tsconfig.md) ^4.10.0
- [@darkobits/log](https://npm.io/package/@darkobits/log.md) ^2.0.0-beta.28
- [camelcase-keys](https://npm.io/package/camelcase-keys.md) ^9.1.3
- [@darkobits/valida](https://npm.io/package/@darkobits/valida.md) ^0.1.6
- [esbuild-node-externals](https://npm.io/package/esbuild-node-externals.md) ^1.18.0
- [@esbuild-plugins/tsconfig-paths](https://npm.io/package/@esbuild-plugins/tsconfig-paths.md) ^0.1.2

## Recent versions

- 0.32.20 (latest) — 2025-02-16
- 0.32.12-beta.5 (beta) — 2023-07-10
- 0.32.19 — 2024-12-02
- 0.32.18 — 2024-12-02
- 0.32.17 — 2023-11-19
- 0.32.16 — 2023-07-12
- 0.32.15 — 2023-07-12
- 0.32.14 — 2023-07-12
- 0.32.13 — 2023-07-12
- 0.32.12 — 2023-07-10
- 0.32.12-beta.4 — 2023-07-10
- 0.32.12-beta.3 — 2023-07-09
- 0.32.12-beta.2 — 2023-07-09
- 0.32.12-beta.1 — 2023-07-08
- 0.32.11 — 2023-07-03
- … 109 more at https://npm.io/package/@darkobits/saffron/versions

## README

<picture>
	<source
    media="(prefers-color-scheme: dark)"
    srcset="https://github.com/darkobits/saffron/assets/441546/8c52160d-a210-4290-a0a1-1e3830b1b74e"
    width="100%"
  >
	<img
    src="https://github.com/darkobits/saffron/assets/441546/7897faf2-9dd8-4125-b0b3-dbd7a8eac097"
    width="100%"
  >
</picture>
<p align="center">
  <a
    href="https://www.npmjs.com/package/@darkobits/saffron"
  ><img
    src="https://img.shields.io/npm/v/@darkobits/saffron.svg?style=flat-square"
  ></a>
  <a
    href="https://github.com/darkobits/saffron/actions?query=workflow%3Aci"
  ><img
    src="https://img.shields.io/github/actions/workflow/status/darkobits/saffron/ci.yml?style=flat-square"
  ></a>
  <a
    href="https://depfu.com/github/darkobits/saffron"
  ><img
    src="https://img.shields.io/depfu/darkobits/saffron?style=flat-square"
  ></a>
  <a
    href="https://conventionalcommits.org"
  ><img
    src="https://img.shields.io/static/v1?label=commits&message=conventional&style=flat-square&color=398AFB"
  ></a>
  <a
    href="https://firstdonoharm.dev"
  ><img
    src="https://img.shields.io/static/v1?label=license&message=hippocratic&style=flat-square&color=753065"
  ></a>
</p>

<br />

<p align="center">
  To get started with Saffron, check out the documentation at <a href="https://darkobits.gitbook.io/saffron">darkobits.gitbook.io/saffron</a>.
</p>

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