HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
joeycumines
ts-chan
TypeScript2023–2023
joeycumines / ts-chan

ts-chan

Concurrency primitives for TypeScript and JavaScript.

2Distinct people
7Mentions
0Explicit recommenders
110GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Concurrency primitives for TypeScript and JavaScript.

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 9–Nov 16 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/16/2026, 7:57:46 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by 3-hour interval7 dated mentions

Observed mentions: 2023-11-05 22:50:32 UTC to 2023-11-08 04:08:23 UTC.

0122023-11-05 21:00:00 UTC to 2023-11-06 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 commentsNov 5, 21:002023-11-06 00:00:00 UTC to 2023-11-06 03:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-11-06 03:00:00 UTC to 2023-11-06 06:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2023-11-06 06:00:00 UTC to 2023-11-06 09:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-11-06 09:00:00 UTC to 2023-11-06 12:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2023-11-06 12:00:00 UTC to 2023-11-06 15:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-11-06 15:00:00 UTC to 2023-11-06 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-11-06 18:00:00 UTC to 2023-11-06 21:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-11-06 21:00:00 UTC to 2023-11-07 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-11-07 00:00:00 UTC to 2023-11-07 03:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsNov 7, 00:002023-11-07 03:00:00 UTC to 2023-11-07 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-11-07 06:00:00 UTC to 2023-11-07 09:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-11-07 09:00:00 UTC to 2023-11-07 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-11-07 12:00:00 UTC to 2023-11-07 15:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-11-07 15:00:00 UTC to 2023-11-07 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-11-07 18:00:00 UTC to 2023-11-07 21:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-11-07 21:00:00 UTC to 2023-11-08 00:00:00 UTC (exclusive): 2 mentions; 1 submissions, 1 comments2023-11-08 00:00:00 UTC to 2023-11-08 03:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-11-08 03:00:00 UTC to 2023-11-08 06:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsNov 8, 03:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Nov 5, 21:002023-11-05 21:00:00 UTC2023-11-06 00:00:00 UTC110
Nov 6, 00:002023-11-06 00:00:00 UTC2023-11-06 03:00:00 UTC000
Nov 6, 03:002023-11-06 03:00:00 UTC2023-11-06 06:00:00 UTC202
Nov 6, 06:002023-11-06 06:00:00 UTC2023-11-06 09:00:00 UTC000
Nov 6, 09:002023-11-06 09:00:00 UTC2023-11-06 12:00:00 UTC101
Nov 6, 12:002023-11-06 12:00:00 UTC2023-11-06 15:00:00 UTC000
Nov 6, 15:002023-11-06 15:00:00 UTC2023-11-06 18:00:00 UTC000
Nov 6, 18:002023-11-06 18:00:00 UTC2023-11-06 21:00:00 UTC000
Nov 6, 21:002023-11-06 21:00:00 UTC2023-11-07 00:00:00 UTC000
Nov 7, 00:002023-11-07 00:00:00 UTC2023-11-07 03:00:00 UTC000
Nov 7, 03:002023-11-07 03:00:00 UTC2023-11-07 06:00:00 UTC000
Nov 7, 06:002023-11-07 06:00:00 UTC2023-11-07 09:00:00 UTC000
Nov 7, 09:002023-11-07 09:00:00 UTC2023-11-07 12:00:00 UTC000
Nov 7, 12:002023-11-07 12:00:00 UTC2023-11-07 15:00:00 UTC000
Nov 7, 15:002023-11-07 15:00:00 UTC2023-11-07 18:00:00 UTC000
Nov 7, 18:002023-11-07 18:00:00 UTC2023-11-07 21:00:00 UTC000
Nov 7, 21:002023-11-07 21:00:00 UTC2023-11-08 00:00:00 UTC211
Nov 8, 00:002023-11-08 00:00:00 UTC2023-11-08 03:00:00 UTC000
Nov 8, 03:002023-11-08 03:00:00 UTC2023-11-08 06:00:00 UTC101

What Hacker News says

2 sources
I somewhat disagree with this take, as I felt the intro and "The microtask queue: a footgun" [1] section in the README does an adequate job of laying out the 'why' and the problems with JS's concurrency model. However, it does presume some understanding of Go's channels, so a more explicit example contrasting ts-chan with native JS concurrency could better clarify its benefits for those less familiar. Granted, there is an /example directory, but the benchmarking complexity muddles the readability. Regardless, upon a quick run-through, it looks to be an A-grade library that seems promising for practical use, plus well-referenced, composed, and quite thorough. [1] https://github.com/joeycumines/ts-chan#the-microtask-queue-a...
In Show HN: Ts-Chan – Go-Like Concurrency Primitives for TypeScript/JavaScript
The concurrency comes from providing mechanisms to communicate between independent, asynchronous chains of operations. Here is an example, that I based on an example from within the Go spec: https://github.com/joeycumines/ts-chan/blob/main/examples/co... Here is the same example in Go: https://github.com/joeycumines/ts-chan/blob/main/examples/co... The JS example is, obviously, much slower, and is fairly contrived - I wouldn't expect anyone to actually want to do that, specifically. The JS one is more complicated primarily because I used it in a benchmark, so needed a mechanism to stop the concurrent, asynchronous chains of operations, once it reached the target number of primes. I hope that explains it for you.
In Show HN: Ts-Chan – Go-Like Concurrency Primitives for TypeScript/JavaScript

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.