@sveu/browser
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

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/browser

🧪 Example

<script>
 import {permission} from "@sveu/browser"

 const { state, supported } = permission("geolocation", {controls: true})
</script>

<h1>Is supported is: {$supported}</h1>

<h1>state is: {$state}</h1>

🙏 Thanks

This project is heavily inspired by the following awesome projects.

📜 License

MIT License © 2022-PRESENT Mohamed Nesredin

Package Sidebar

Install

npm i @sveu/browser

Weekly Downloads

161

Version

1.0.1

License

MIT

Unpacked Size

111 kB

Total Files

6

Last publish

Collaborators

  • mohamed-kaizen