The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →
Top 14 TypeScript service-worker Projects
-
> For those wondering what the use case is, you must not have tried it. It does take work to set up (with each version that's less), but it can be very nice to test in isolation esp in cases where a component is under a login, the 4th page of a 10 page form, etc. Also obviously if you're working on a component library that ships without an app, Storybook can be your development and/or demo app.
I have worked with storybook extensively over the past couple of years and my team is moving away from it in favour of MSW (https://mswjs.io).
For "4th page of a 10 page form" during the development there's hot reloading which is really stable nowadays and haven't failed me, although I understand that some setups are old and it might be easier to configure Storybook than good hot reloading.
I'm not entirely sure about the testing part of it and I'd be grateful if you could elaborate. I haven't felt the need for some special setup with SB because for unit tests, I can test a deeply nested component separately. For E2E tests, I usually test the whole form.
I agree on the component library part, this is probably the only use case where Storybook is 100% justified, but I'm unconvinced about the
-
PWABuilder
The simplest way to create progressive web apps across platforms and devices. Start here. This repo is home to several projects in the PWABuilder family of tools.
For a PWA to be listed in app stores, it must be wrapped within additional software. This wrapper tends to be less robust and not as finely tuned as mainstream browsers, a fact that even PWABuilder acknowledges.
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
-
Project mention: Ask HN: How can I back up an old vBulletin forum without admin access? | news.ycombinator.com | 2024-01-29
You can try https://replayweb.page/ as a test for viewing a WARC file. I do think you'll run into problems though with wanting to browse interconnected links in a forum format, but try this as a first step.
One potential option but definitely a bit more work would be, once you have all the warc files downloaded, you can open them all in python using the warctools module and maybe beautifulsoup and potentially parse/extract all of the data embedded in the WARC archives into your own "fresh" HTML webserver.
-
I, uh, used my fork of next-pwa. There isn't an official solution from Next yet, sadly.
-
-
Project mention: No libraries, no frameworks. With just Javascript and a HTML Canvas I finally finished my game. Source code in comments. | /r/webdev | 2023-04-19
One of the more recent finds I've started using is either JSDoc tsc checking with TypeScript, which can help with making sure the codebase is structurally-sound, type wise. That was a huge step up for me. You don't even have to use full TypeScript to get that, just plain JavaScript and JSDoc will do! My game has since moved to TypeScript since I've been trying to learn it more (https://github.com/Offroaders123/Flatlands), but here's an example for one of my projects when it was using JSDoc + JavaScript for type checking (https://github.com/Offroaders123/Smart-Text-Editor/tree/36b698a52d401090a99bb46a4663486f36cf212d).
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
-
-
Project mention: How to build high-performance front-end applications based on multi-processing | dev.to | 2024-01-19
Generic Transport Model: Coworker supports any transport based on data-transport (https://github.com/unadlib/data-transport), so it can run in any container that supports transport, including SharedWorker. The following is a list of supported transports: iframe Broadcast Web Worker Service Worker Shared Worker Browser Extension Node.js WebRTC Electron Any other port based on data-transport
-
-
-
browstorjs
Persistent key/value data storage for your Browser and/or PWA, promisified, including file support and service worker support, all with IndexedDB. Perfectly suitable for your next (PWA) app.
-
Project mention: No libraries, no frameworks. With just Javascript and a HTML Canvas I finally finished my game. Source code in comments. | /r/webdev | 2023-04-19
One of the more recent finds I've started using is either JSDoc tsc checking with TypeScript, which can help with making sure the codebase is structurally-sound, type wise. That was a huge step up for me. You don't even have to use full TypeScript to get that, just plain JavaScript and JSDoc will do! My game has since moved to TypeScript since I've been trying to learn it more (https://github.com/Offroaders123/Flatlands), but here's an example for one of my projects when it was using JSDoc + JavaScript for type checking (https://github.com/Offroaders123/Smart-Text-Editor/tree/36b698a52d401090a99bb46a4663486f36cf212d).
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
TypeScript service-worker related posts
- How do you manage Dependency Injection in Next.js APPS?
- Mocks agnósticos para bibliotecas de requisições HTTP no Node.js
- is it common to use MSW to mock api calls or is there an easier way
- mock a network call made by child process
- Why are Unit Test important?
- Beginner's Thread / Easy Questions (July 2023)
- Fetch API Intercepting
-
A note from our sponsor - WorkOS
workos.com | 18 Apr 2024
Index
What are some of the best open-source service-worker projects in TypeScript? This list will help you:
Project | Stars | |
---|---|---|
1 | msw | 14,751 |
2 | PWABuilder | 2,427 |
3 | itty-router | 1,592 |
4 | replayweb.page | 607 |
5 | next-pwa | 518 |
6 | reactant | 248 |
7 | Smart-Text-Editor | 94 |
8 | stupid-rss-reader | 53 |
9 | edge-mock | 50 |
10 | data-transport | 39 |
11 | spendlogs | 19 |
12 | angular-weather-app | 10 |
13 | browstorjs | 10 |
14 | Flatlands | 6 |