Provides a collection of common Svelte Actions, Svelte Stores, and Utility Functions for working with Svelte / Browser
Open your terminal and install via npm
:
npm install git+https://github.com/novacbn/svelte-commons#0.1.2
See TypeDoc documentation at novacbn.github.io/svelte-commons.
LEGEND:
manual shared
means the API requires some manual handling, to work in both contexts
- Stores
collection
— sharedhash
— browser onlyimmutable
— sharedlocal_storage
— browser onlymerged
— sharedoverlay
— sharedpathname
— browser onlyquery_param
— browser onlyrouter
— manual sharedschema
— sharedsearch
— browser onlysession_storage
— browser onlystorage
— shared
- Utilities
event
— sharedformat_css_declaration
— sharedformat_css_reference
— sharedformat_css_variable
— sharedformat_dash_key
— sharedformat_tokens
— sharedformat_url
— sharedgoto
- browser onlyis_internal_href
— sharedis_readable
— sharedis_writable
— sharedjoin
— sharedmake_memory_storage
— sharedmap_classes
— sharedmap_style
— sharedmap_variables
— sharednormalize_pathname
— sharedparse_query
— shared
- Constants
IS_BROWSER
— shared