Skip to content

svelte-u/shared

Repository files navigation

Svelte Utility

Write less, Do more


The key features are:

  • Type Strong 💪: Written in TypeScript, with TS Docs.
  • Fast to code 🚀: Increase the speed to develop features by about 200% to 300%.
  • Fewer bugs 🐞: Reduce about 40% of human (developer) induced errors.
  • SSR Friendly 🕺: Works perfectly with server-side.
  • Easy 💫: Designed to be easy to use and learn. Less time reading docs.
  • Interactive demos 🎉 : Documentation of functions also come with interactive demos!.
  • Feature Rich 🌈: 100+ functions for you to choose from.
  • Fully 🌳 shakeable: Only take what you want.

Installation

pnpm add -D @sveu/shared

🧪 Example

<script>
 import {strftime} from "@sveu/shared"
 
 const time = strftime(Date.now(), "%Y-%m-%d %H:%M:%S") // 2023-03-09 13:52:34
</script>

{time}

🙏 Thanks

This project is heavily inspired by the following awesome projects.

📜 License

MIT License © 2022-PRESENT Mohamed Nesredin

About

Shared utilities for svelte utility libraries

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published