@sveu/shared
v1.0.1
Published
Shared utilities for svelte utility libraries
Downloads
1,054
Readme
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