info-mono / ms2duration

⏲️ Milliseconds to duration converter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ms2duration

Milliseconds to duration converter

License: GPL-3.0 Development completed

💡 About

ms2duration is a tool to convert milliseconds to a full durations represent a length of time written in portable sh inspired by Nushell's duration data type and Starship's Command duration module.

🚀 Setup

🧾 Dependencies

📥 Installation

🔧 Manually

Option 1: using curl

curl https://raw.githubusercontent.com/info-mono/ms2duration/main/bin/ms2duration > ~/.local/bin/ms2duration
chmod +x ~/.local/bin/ms2duration

Option 2: using git

git clone https://github.com/info-mono/ms2duration.git ~/.local/share/ms2duration
ln -s ~/.local/share/ms2duration/bin/ms2duration ~/.local/bin/ms2duration

📦 Package manager

For Bpkg user:

bpkg install info-mono/ms2duration

For Basher user:

basher install info-mono/ms2duration

If you can and want to port ms2duration to other package managers, feel free to do so.

⌨️ Usage

Run 'ms2duration' in the terminal:

ms2duration MILLISECONDS

💌 Credits

Special thanks to:






Made with ❤️ by @info-mono

Buy Me a Coffee

About

⏲️ Milliseconds to duration converter

License:GNU General Public License v3.0


Languages

Language:Shell 85.3%Language:Makefile 14.7%