unit-test-service-worker
samples
unit-test-service-worker | samples | |
---|---|---|
1 | 5 | |
1 | 5,729 | |
- | 0.2% | |
0.0 | 4.0 | |
over 2 years ago | 16 days ago | |
JavaScript | HTML | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
unit-test-service-worker
-
Unit testing service workers
Check out the code repo for this sample here: unit-test-service-worker
samples
-
Is it better to learn web development with Python or C?
Why do you need an ordinary HTTP Web server when you have HTTP/3 and QUIC support in WebTransport (https://www.w3.org/TR/webtransport/; https://github.com/GoogleChrome/samples/tree/gh-pages/webtransport)?
-
Web Native Payment API with SvelteKit
Web Payment Request Examples by Google
-
Unit testing service workers
This code sample is an enhancement on top of Service Worker Mock. Service Worker Mock explains how to write unit tests for service works. Since it is not maintained any more, I am writing this code sample to unblock ourselves from the current issues in that library. Tests are written using the sample service worker given at service worker example
-
How hard is it to develop a simple companion App to interface with a BLE Capabale IoT Device?
It's definitely possible to get this up and running in 1-2 months using like Flutter. An other option is to use Web Bluetooth if you feel more comfortable doing web stuff instead, here are many samples https://github.com/GoogleChrome/samples/tree/gh-pages/web-bluetooth
-
Running a python script from a website
Technically WebTransport https://github.com/GoogleChrome/samples/tree/gh-pages/webtransport provides a means to run code (using aioquic in Python) on local machine requested from any site where CSP does not block the request.
What are some alternatives?
service-workers - A collection of utilities for creating/testing/experimenting with service workers.
aioquic - QUIC and HTTP/3 implementation in Python
next-pwa - Zero config PWA plugin for Next.js, with workbox 🧰
google-pay-button - Google Pay button - React, Angular, and custom element
workbox - 📦 Workbox: JavaScript libraries for Progressive Web Apps
StreamSaver.js - StreamSaver writes stream to the filesystem directly asynchronous
webtransport - WebTransport
vue-easytable - A powerful data table based on vuejs. You can use it as data grid、Microsoft Excel or Google sheets. It supports virtual scroll、cell edit etc.
quiche - 🥧 Savoury implementation of the QUIC transport protocol and HTTP/3
web.dev - The frontend, backend, and content source code for web.dev