/svelte-clock

An analog clock for your Svelte apps.

Primary LanguageJavaScriptMIT LicenseMIT

svelte-clock

An analog clock for your Svelte apps.

NPM JavaScript Style Guide

🔧 Install

svelte-clock is available on npm. It can be installed with the following command:

npm install svelte-clock --save

svelte-clock is available on yarn as well. It can be installed with the following command:

yarn add svelte-clock --save

Note: Install as a dev dependency ( npm install svelte-clock -D ) ( yarn add svelte-clock --dev ) if using Sapper to avoid a SSR error.

💡 Usage

<script>
  import Clock from 'svelte-clock';
</script>

<Clock />

❗ Issues

If you think any of the svelte-clock can be improved, please do open a PR with any updates and submit any issues. Also, I will continue to improve this, so you might want to watch/star this repository to revisit.

🌟 Contribution

We'd love to have your helping hand on contributions to svelte-clock by forking and sending a pull request!

Your contributions are heartily ♡ welcome, recognized and appreciated. (✿◠‿◠)

How to contribute:

  • Open pull request with improvements
  • Discuss ideas in issues
  • Spread the word
  • Reach out with any feedback

⚖️ License

The MIT License License: MIT