Svelte Router adds routing to your Svelte apps. It's designed for Single Page Applications (SPA). Includes localisation, guards and nested layouts.
Repository Index
47,133 repositories indexed
1–6 of 6 · Most stars
Set nested properties on an object using dot-notation.
querySelector that can pierce Shadow DOM roots without knowing the path through nested shadow roots. Useful for automated testing of Web Components. Production use is not advised, this is for test environments/tools such as Web Driver, Playwright, Puppeteer
Recursively flatten an array or arrays. This is the fastest implementation of array flatten.
Returns true if a value exists, false if empty. Works with deeply nested values using object paths.
Bind a context to all functions in an object, including deeply nested functions.