# developer-utility

> A console application for developer utilities (TypeScript, functional).

Latest version **1.2.0** (published 2025-09-28) · ISC license · 0 weekly downloads

## Install

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

Provides the command `dev`.

## Health

**Score 30/100 (F)** — status: maintenance-mode.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.0 |
| Published | 2025-09-28 |
| First published | 2024-08-11 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 7 |
| Unpacked size | 24.8 KB |
| Known vulnerabilities | 0 (+2 in 2 direct dependencies) |
| Install scripts | no |
| Author | sakthivel |
| Maintainers | sakthivel_r |
| Keywords | json, csv, comma seperated file, csv to json, convert csv to json, edit json, add json property, edite json, delete json property, typescript |

## Links

- npm: https://www.npmjs.com/package/developer-utility
- npm.io page: https://npm.io/package/developer-utility

## Dependencies (7)

- [uuid](https://npm.io/package/uuid.md) ^10.0.0
- [chalk](https://npm.io/package/chalk.md) ^5.6.2
- [figlet](https://npm.io/package/figlet.md) ^1.9.3
- [qrcode](https://npm.io/package/qrcode.md) ^1.5.3
- [inquirer](https://npm.io/package/inquirer.md) ^9.2.23
- [csv-parser](https://npm.io/package/csv-parser.md) ^3.0.0
- [json-2-csv](https://npm.io/package/json-2-csv.md) ^4.1.1

## 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

- 1.2.0 (latest) — 2025-09-28
- 1.0.2 — 2024-09-08
- 1.0.1 — 2024-08-11
- 1.0.0 — 2024-08-11

## README

# Developer Utility

A cross-platform CLI for working with JSON and CSV files.

> Convert CSV ↔ JSON, add/remove properties, and more — all from the command line.

## Index
- [Introduction](#introduction)
- [Prerequisites](#prerequisites)
- [Installation](#installation)
- [Usage](#usage)
- [Services](#services)
- [License](#license)

### Introduction
This tool helps developers manipulate JSON and CSV data directly from the terminal.

### Target Audience
Developers or anyone comfortable with the command line.

### Reporting Issues
Found a bug or want to propose a feature? Open an issue or email **sakthiv9819@gmail.com**.

### Prerequisites

- **Software Required:** Install Node.js (v20.12.2). [Click here to install Node.js](https://nodejs.org/en/download/package-manager).

### Installation Guide

1. **Install the Package:** After installing Node.js, install the package using the following command:

   ```bash
   npm install -g developer-utility
   ```

2. **Locate the Package:** After installation, you can find the `dev-utils` package in the `node_modules` directory of your global Node.js packages.

### How to Use the Package

1. **Run the Command:**

   ```bash
   dev
   ```

2. **Successful Installation:** If you see the following window, your installation was successful:

   ```
   ██████╗ ███████╗██╗   ██╗     ██████╗██╗     ██╗
   ██╔══██╗██╔════╝██║   ██║    ██╔════╝██║     ██║
   ██║  ██║█████╗  ██║   ██║    ██║     ██║     ██║
   ██║  ██║██╔══╝  ╚██╗ ██╔╝    ██║     ██║     ██║
   ██████╔╝███████╗ ╚████╔╝     ╚██████╗███████╗██║
   ╚═════╝ ╚══════╝  ╚═══╝       ╚═════╝╚══════╝╚═╝
                                                   
   Developer-utility CLI

   ? Select a utility: (Use arrow keys)
   ❯  JSON Manipulation 
      QR Code Generation 
      UUID Generation 
      Directory Tree 
      Password Utility (Placeholder) 
      Exit
   ```

### How to Use Each Service

#### Convert CSV to JSON

- **Source File:** `.csv` (absolute path to the CSV file to convert)
- **Destination File:** `.json` (path to your empty JSON file)

  **Important:** You can have a .json file with name else dev-cli will create directory and file for given path

- **After Conversion:** Once you enter the details, you'll see a success message:

  ![alt text](https://raw.githubusercontent.com/RADHAsakthivel/images/main/dev-utility/image-6.png)

  The parsed data will be stored in your newly created JSON file:

  ![alt text](https://raw.githubusercontent.com/RADHAsakthivel/images/main/dev-utility/image-8.png)

#### Add Property to JSON File

- **Source File:** `.json` (Your existing JSON file with data)
- **Property to Add File:** `.json` (Your JSON file with properties to add)

  **Important:** Properties must be specified in a `.json` file.

- **Steps:**

  1. **Source JSON File:**
     ![alt text](https://raw.githubusercontent.com/RADHAsakthivel/images/main/dev-utility/image-8.png)
  
  2. **Property to Add File:**
     ![alt text](https://raw.githubusercontent.com/RADHAsakthivel/images/main/dev-utility/image-9.png)

  3. **Run the Command:**

     ```bash
     dev
     ```

  4. **Success Message:**
     ![alt text](https://raw.githubusercontent.com/RADHAsakthivel/images/main/dev-utility/image-10.png)

  5. **Updated JSON File:**
     ![alt text](https://raw.githubusercontent.com/RADHAsakthivel/images/main/dev-utility/image-13.png)

#### Add UUID to JSON File

- **Source File:** `.json` (Your JSON file with data)

  **Important:** Properties must be specified in a `.json` file.

- **Steps:**

  1. **Source JSON File:**
     ![alt text](https://raw.githubusercontent.com/RADHAsakthivel/images/main/dev-utility/image-8.png)
  
  2. **Run the Command:**

     ```bash
     dev
     ```

  3. **Success Message:**
     ![alt text](https://raw.githubusercontent.com/RADHAsakthivel/images/main/dev-utility/image-14.png)

  4. **Updated JSON File:**
     ![alt text](https://raw.githubusercontent.com/RADHAsakthivel/images/main/dev-utility/image-16.png)

#### Remove Property from JSON File

- **Source File:** `.json` (Your JSON file with properties to remove)

  **Important:** Properties must be specified in a `.json` file.

- **Steps:**

  1. **Source JSON File:**
     ![alt text](https://raw.githubusercontent.com/RADHAsakthivel/images/main/dev-utility/image-8.png)
  
  2. **Run the Command:**

     ```bash
     dev
     ```

  3. **Success Message:**
     ![alt text](https://raw.githubusercontent.com/RADHAsakthivel/images/main/dev-utility/image-17.png)

  4. **Updated JSON File:**
     ![alt text](https://raw.githubusercontent.com/RADHAsakthivel/images/main/dev-utility/image-18.png)

---

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