0.0.16 • Published 11 months ago

sveltuse v0.0.16

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

SVELTUSE

🔥🔥🔥 Contributors Needed 🔥🔥🔥

Collection of essential Svelte Utility Functions. ⚠️ Sveltuse is currently in early development and APIs and packages are likely to change quite often.

npm version npm downloads npm downloads license

📦 Install

npm install sveltuse
yarn add sveltuse # Using yarn
pnpm install sveltuse # Using pnpm

🦄 Usage

import {
	useCounter,
	useMediaQuery,
	useBreakpoints,
	breakpointsTailwind
} from 'sveltuse'

const { count, inc, dec, set, reset } = useCounter(1, { min: 0, max: 100 })

const breakpoints = useBreakpoints(breakpointsTailwind)

const isLargeScreen = useMediaQuery('(min-width: 1024px)')
const isPreferredDark = useMediaQuery('(prefers-color-scheme: dark)')

Refer to functions list or documentations for more details.

📖 Documentation

See Usage, api and examples in sveltuse documentations.

Contribute

Please read how to contribute if you'd like to be part of the Flowbite community of contributors.

License

Sveltuse is open-source under the MIT License.

0.0.10

12 months ago

0.0.11

11 months ago

0.0.13

11 months ago

0.0.14

11 months ago

0.0.3

12 months ago

0.0.2

12 months ago

0.0.16

11 months ago

0.0.4

12 months ago

0.0.7

12 months ago

0.0.6

12 months ago

0.0.1

12 months ago