Latest / Developer tools

ts-chan

github.com · Package · Quiet

Go-style channels and select for TypeScript and JavaScript

Visit github.com ↗Share

  • channel
  • go channels javascript
  • typescript concurrency
  • select statement js
  • channels in typescript
  • control loop javascript
Stars
110
Forks
1
Open issues
0
Last commit
Found
3 years ago

GitHub figures as of . They are context, not a ranking.

ts-chan is an npm package that provides Go-style channels and select statements for TypeScript and JavaScript. It runs on Node.js, Deno, Bun and in browsers, and suits developers who want to write control loops and concurrency logic with Go-like primitives.

Repository description on GitHub: “Concurrency primitives for TypeScript and JavaScript.”

What it does

  • Go-style channels with a FIFO processing Chan class
  • Select class for concurrency control across channels
  • Runs on Node.js, Deno, Bun and in browsers

Good for

  • Write control loops in TypeScript with Go-style channels
  • Coordinate async work with select statements in JavaScript

Suits: TypeScript and JavaScript developers who want Go-style concurrency.

Worth knowing: The author says it is still being iterated on toward a production-ready release

What you can try

Install the npm package and read its README on GitHub.

Install

npm install ts-chan

Confirmed against the package registry. Read the project’s own instructions before running anything.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw ts-chan on , when joeycumines posted it to Show HN. GitHub listed no published releases for joeycumines/ts-chan when checked , so the project may ship straight from its main branch. The repository was created .

Day-7 and day-30 updates

Day 7 no new release

  • No tagged release was published in the first 7 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 60 points, 73 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 no new release

  • No tagged release was published in the first 30 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 60 points, 73 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

  1. Repository created on GitHub: joeycumines/ts-chan
  2. Found: joeycumines posted it to Show HN. Show HN
  3. Day-7 check recorded by Kip (details)
  4. Day-30 check recorded by Kip (details)

Quick answers

When was ts-chan released?
No dated release record is available. Kip found it on Show HN on 5 Nov 2023.
Is ts-chan open source?
Its source is public on GitHub at joeycumines/ts-chan under the MIT licence.
What does ts-chan run on?
Library, Web.
Is ts-chan free?
It is open source, so the code is free to read and run; check the licence for terms.
Is ts-chan still maintained?
It has had no commit or release for over a year as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositoryjoeycumines/ts-chan
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-38156519. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.

Share

Similar tools

More in Developer tools

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.