TypeScript service-worker

Open-source TypeScript projects categorized as service-worker

Top 14 TypeScript service-worker Projects

  • msw

    Seamless REST/GraphQL API mocking library for browser and Node.js.

    Project mention: Storybook 8 | news.ycombinator.com | 2024-03-13

    > 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.

    Project mention: Don't upload your PWA to the app stores | dev.to | 2024-01-10

    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.

  • itty-router

    A little router.

  • replayweb.page

    Serverless replay of web archives directly in the browser

    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.

    https://github.com/internetarchive/warctools

  • next-pwa

    Zero-config PWA plugin for Next.js. (by DuCanhGH)

    Project mention: Considering PWA with Next.js 13 - Any Thoughts? | /r/nextjs | 2023-06-07

    I, uh, used my fork of next-pwa. There isn't an official solution from Next yet, sadly.

  • reactant

    A framework for building React applications (by unadlib)

  • Smart-Text-Editor

    The text editor that requires only a browser and a keyboard!

    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.

  • stupid-rss-reader

    ⊕ PWA RSS client on Angular 11

  • edge-mock

    Tools for testing and developing CloudFlare worker apps.

  • data-transport

    A simple and responsible universal transport

    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

  • spendlogs

    SpendLogs - Personal Expense Manager

  • angular-weather-app

    A Progressive Web Application (PWA) to get the weather forecasts.

  • 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.

  • Flatlands

    A cross platform 2D game built in the browser!

    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.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2024-03-13.

TypeScript service-worker related posts

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
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.
workos.com