kbd-txt
is a lightweight (~850 B) library that formats keyboard shortcuts to work with Mac, Windows, and Linux operating systems, making it easy to display shortcuts for users on different systems.
This library can be useful when you want to display keyboard shortcuts in a way that is specific to the user's operating system or for converting Mac keyboard shortcuts into symbols.
pacakages/kbd-txt: Main Library
pacakages/docs: Docs using Docusaurus 2
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
Thanks goes to these wonderful people (emoji key):
Minung Han 🚧 💻 📖 |
mononomo |
This project follows the all-contributors specification. Contributions of any kind welcome!
Distributed under the MIT License. See LICENSE
for more information.