You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,12 @@
2
2
3
3
This library provides a readable Svelte store to use a PWA's access to the [`Battery Status API`](https://developer.mozilla.org/en-US/docs/Web/API/Battery_Status_API), available on the navigator. It allows you to read charging levels as well as certain charging thresholds.
4
4
5
+
This package is part of a collection of PWA-related svelte-packages:
6
+
7
+
-[🖥️ Screen Wake Lock](https://www.npmjs.com/package/svelte-screen-wake-lock)
@@ -54,3 +60,11 @@ The following values are returned from the store.
54
60
|**chargeCompleteInSec**|`number` / `undefined`| Amount of seconds until device is fully charged |
55
61
|**dischargeCompleteInSec**|`number` / `undefined`| Amount of seconds until device is empty |
56
62
|**level**|`number` / `undefined`| Value between 0 and 1, indicating the percent of current charge |
63
+
64
+
## Svelte Development Help
65
+
66
+
-[MSW w/ SvelteKit for local development](https://flaming.codes/posts/msw-in-sveltekit-for-local-development)
67
+
-[License generator for SvelteKit-projects](https://flaming.codes/posts/license-generator-for-dependencies-in-sveltekit)
68
+
-[Lazy-loading modules in SvelteKit](https://flaming.codes/posts/lazy-loading-modules-in-svelte-to-import-components-on-demand)
69
+
-[Custom $lib-folder in SvelteKit](https://cdn.sanity.io/images/udzdriea/production/3b194fc9edce1392fe39f9c141b3a81e84de398e-960x600.jpg?w=400&fm=webp)
70
+
-[HMR for SvelteKit w/ Gitpod](https://flaming.codes/posts/setup-hmr-for-sveltekit-with-gitpod)
Copy file name to clipboardExpand all lines: pkg/README.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,12 @@
2
2
3
3
This library provides a readable Svelte store to use a PWA's access to the [`Battery Status API`](https://developer.mozilla.org/en-US/docs/Web/API/Battery_Status_API), available on the navigator. It allows you to read charging levels as well as certain charging thresholds.
4
4
5
+
This package is part of a collection of PWA-related svelte-packages:
6
+
7
+
-[🖥️ Screen Wake Lock](https://www.npmjs.com/package/svelte-screen-wake-lock)
@@ -54,3 +60,11 @@ The following values are returned from the store.
54
60
|**chargeCompleteInSec**|`number` / `undefined`| Amount of seconds until device is fully charged |
55
61
|**dischargeCompleteInSec**|`number` / `undefined`| Amount of seconds until device is empty |
56
62
|**level**|`number` / `undefined`| Value between 0 and 1, indicating the percent of current charge |
63
+
64
+
## Svelte Development Help
65
+
66
+
-[MSW w/ SvelteKit for local development](https://flaming.codes/posts/msw-in-sveltekit-for-local-development)
67
+
-[License generator for SvelteKit-projects](https://flaming.codes/posts/license-generator-for-dependencies-in-sveltekit)
68
+
-[Lazy-loading modules in SvelteKit](https://flaming.codes/posts/lazy-loading-modules-in-svelte-to-import-components-on-demand)
69
+
-[Custom $lib-folder in SvelteKit](https://cdn.sanity.io/images/udzdriea/production/3b194fc9edce1392fe39f9c141b3a81e84de398e-960x600.jpg?w=400&fm=webp)
70
+
-[HMR for SvelteKit w/ Gitpod](https://flaming.codes/posts/setup-hmr-for-sveltekit-with-gitpod)
0 commit comments