TypeScript Webworker

Open-source TypeScript projects categorized as Webworker Edit details

Top 4 TypeScript Webworker Projects

  • partytown

    Relocate resource intensive third-party scripts off of the main thread and into a web worker. 🎉

    Project mention: The smartest way to cache/speed up a Wordpress website - Close to static | reddit.com/r/Wordpress | 2022-05-10

    For example: https://partytown.builder.io is working on a webworker for tracker scripts

  • post-me

    📩 Use web Workers and other Windows through a simple Promise API

  • Appwrite

    Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!

  • main-thread-scheduling

    Fast and consistently responsive apps using a single function call

    Project mention: I've made my app's search fast and open-sourced the solution | reddit.com/r/react | 2022-06-22

    The library — https://github.com/astoilkov/main-thread-scheduling

  • worktank

    A simple isomorphic library for executing functions inside WebWorkers or Node Threads pools.

    Project mention: Web Crypto API | news.ycombinator.com | 2021-12-04

    Workers are awesome but you are right, working with them can be painful without the right tooling.

    Personally I've written my own libraries for abstracting all this away and I've having a blast working with workers now, maybe check them out:

    - WorkTank [1]: This abstracts away the difference between browser workers and Node worker threads, it makes it easy to make worker pools, and it can transfer simple functions to a worker at runtime too.

    - WorkTank loader: This abstracts away loading asynchronous function from a worker basically, you just add ".worker" to your file name and that file and all its dependencies are transparently replaced moved to a worker, all the rest of the app (TS types for example) doesn't even notice anything happened, it just works.

    You might want to check out the more popular "comlink" library too, although it didn't work for me for whatever reason and it doesn't support worker pools I believe.

    [1]: https://github.com/fabiospampinato/worktank

    [2]: https://github.com/fabiospampinato/worktank-loader

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 2022-06-22.

TypeScript Webworker related posts


What are some of the best open-source Webworker projects in TypeScript? This list will help you:

Project Stars
1 partytown 8,607
2 post-me 452
3 main-thread-scheduling 295
4 worktank 14
Find remote jobs at our new job board 99remotejobs.com. There are 2 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
Clean code begins in your IDE with SonarLint
Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.