# argonaut

> A CLI JSON Editor

Latest version **0.1.1** (published 2013-08-02) · MIT license · 0 weekly downloads

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

## Install

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

## Health

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

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2013-08-02 |
| First published | 2013-08-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Stef Horner |
| Maintainers | tedslittlerobot |
| Keywords | json, cli |

## Links

- npm: https://www.npmjs.com/package/argonaut
- Repository: https://github.com/tedslittlerobot/argonaut
- Issues: https://github.com/tedslittlerobot/argonaut/issues
- npm.io page: https://npm.io/package/argonaut

## Dependencies (1)

- [optimist](https://npm.io/package/optimist.md) ~0.6.0

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 0.1.1 (latest) — 2013-08-02
- 0.1.0 — 2013-08-02

## README

argonaut
========

I got bored of having to make predictable changes to package.json, composer.json and smart.json files (amongst other things), and i couldn't find any command line things that did this in an easy way.

NB - this is still in development, so the API is subject to change

# Instalation

    npm install -g argonaut

# Usage

    argonaut -f path/to/file.json key value [other key value pairs]

The file path can be relative or absolute

The key is a . (dot) delimited path to the value. The following command

    argonaut -f test.json staff.uk.count 4

would produce:

    {
      "staff": {
        "uk": {
          "count": 4
        }
      }
    }


# Development

Still to do:

- array/append mode (append value to key, rather than assign)
- increment mode (increment existing by value)
- semver mode (modify semver at key by value)

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