New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@devtools-cli/devtools-cli

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@devtools-cli/devtools-cli

A free collection of essential online developer tools. Convert Base64, format JSON, generate UUIDs, analyze strings, and more. Fast, simple, and easy to use.

Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

@abhishek_bansal_npm/devtools-cli

A powerful command-line interface (CLI) for essential developer utilities. Access a wide range of tools directly from your terminal, including Base64 encoding/decoding, JSON formatting, UUID generation, timestamp conversions, and more.

🌟 Features

  • 🚀 Fast & Efficient: Perform common development tasks quickly without leaving your terminal.
  • 🔧 Comprehensive Toolset: Includes tools for encoding, data formatting, text analysis, time conversions, and unique ID generation.
  • 💻 Easy to Use: Simple command structure with clear arguments and options.
  • 🌐 Cross-Platform: Works on any operating system with Node.js installed.

📦 Installation

Install the DevTools CLI globally using npm or pnpm:

npm install -g @abhishek_bansal_npm/devtools-cli
# or
pnpm install -g @abhishek_bansal_npm/devtools-cli

🚀 Usage

Once installed, you can access the devtools command from your terminal:

devtools --help

This will display a list of available commands and their descriptions.

Examples

Here are a few examples of how to use the devtools CLI:

Base64 Encoding/Decoding

# Encode text to Base64
devtools base64 encode "Hello, World!"

# Decode Base64 to text
devtools base64 decode "SGVsbG8sIFdvcmxkIQ=="

JSON Formatting

# Format a JSON string with 4-space indentation
devtools json format '{"name":"John Doe","age":30}' --indent 4

# Minify a JSON string
devtools json minify '{"name":"John Doe","age":30, "city": "New York"}'

# Validate a JSON string
devtools json validate '{"name":"John Doe"}'

UUID Generation

# Generate a single UUID v4
devtools uuid generate

# Generate 3 UUID v4s
devtools uuid generate --count 3

# Validate a UUID
devtools uuid validate "a1b2c3d4-e5f6-7890-1234-567890abcdef"

Timestamp Conversion

# Get current Unix timestamp
devtools timestamp now --unix

# Convert Unix timestamp to ISO string
devtools timestamp to-iso 1678886400

# Convert ISO string to Unix timestamp
devtools timestamp to-unix "2023-03-15T00:00:00.000Z"

Hexadecimal Conversion

# Convert hex to ASCII
devtools hex to-ascii "48656c6c6f"

# Convert ASCII to hex
devtools hex from-ascii "Hello"

📚 Available Commands

The devtools CLI provides the following top-level commands:

  • base64: Base64 encoding and decoding utilities.
  • json: JSON validation and formatting utilities.
  • hex: Hexadecimal conversion utilities (to/from ASCII, binary, decimal).
  • timestamp: Timestamp conversion utilities (Unix, ISO, human-readable).
  • uuid: UUID generation and validation utilities.
  • cron: Cron expression parsing and explanation.
  • string: String analysis and case conversion tools.
  • xml: XML formatting and validation.
  • color: Color conversion and analysis.

For detailed usage of each command, use devtools [command] --help. For example:

devtools base64 --help
devtools json --help

🤝 Contributing

Contributions are welcome! Please refer to the main project's CONTRIBUTING.md for guidelines.

📄 License

This project is licensed under the MIT License - see the LICENSE.MD file for details.

📞 Support

Made with ❤️ by Abhishek Bansal

Keywords

cli

FAQs

Package last updated on 25 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts