Skip to content

⏲️ Milliseconds to duration converter

License

Notifications You must be signed in to change notification settings

info-mono/ms2duration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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