whitesun-dev-toolkit
v1.0.0
Published
One-stop CLI toolkit for developers - JSON formatter, Base64 encoder/decoder, timestamp converter, UUID generator, regex tester
Maintainers
Readme
🛠️ DevToolkit
One-stop CLI toolkit for developers - Your daily development companion
✨ Features
- JSON Formatter - Format and validate JSON with custom indentation
- Base64 Encoder/Decoder - Quick Base64 encoding and decoding
- Timestamp Converter - Convert timestamps to dates and vice versa
- UUID Generator - Generate random UUIDs
- Regex Tester - Test regular expressions instantly
📦 Installation
npm install -g dev-tools-kit🚀 Usage
JSON Formatter
# Format JSON
devkit json '{"name":"test","value":123}'
# With custom indentation
devkit json '{"name":"test"}' --indent 4Base64 Encoder/Decoder
# Encode
devkit base64 "Hello, World!"
# Output: SGVsbG8sIFdvcmxkIQ==
# Decode
devkit base64 "SGVsbG8sIFdvcmxkIQ==" --decode
# Output: Hello, World!Timestamp Converter
# Timestamp to date
devkit timestamp 1715788800000
# Output: {"iso":"2024-05-15T12:00:00.000Z","local":"...","unix":1715788800}
# Date to timestamp
devkit timestamp "2024-05-15" --reverseUUID Generator
# Generate one UUID
devkit uuid
# Generate multiple
devkit uuid --count 5Regex Tester
devkit regex "\d+" "abc123def456"
# Output: ✓ Valid regex, Matches found: 2, Matches: ["123", "456"]
# With flags
devkit regex "[a-z]+" "ABCdef" --flags i🎯 Why DevToolkit?
- Zero dependencies - Lightweight and fast
- Simple interface - Easy to remember commands
- Type-safe - Built with modern JavaScript
- Open source - Free for everyone
🤝 Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
📄 License
MIT License - see LICENSE file for details
💖 Sponsors
If you find this tool helpful, consider sponsoring!
Made with ❤️ by developers, for developers
