Tool workspace

Reddit Scraper

Preview public community posts and keyword discussions.

Mode
Recorded samples
Base URL
Not published
Reference
API catalog
Market researchTool only
No published API endpoint for this tool. Public request code is intentionally unavailable. The target below can still run a small live preview when available, and recorded output and complete JSON remain available.

Public request code is unavailable for this tool. Checking live preview availability…

TOOLNo published API endpoint
Recorded sampleSaved Oct 10, 2026

Rendered

Recorded
Reddit
1 record

Reddit preview

r/typescript

community preview · query “typescript”

community

Posts in this preview

10

Returned posts

Every returned post is listed. Missing values stay missing.

10
post

Deno is dead

r/typescript · u/basixuser

"We will support the Deno runtime for another year with monthly releases containing bug fixes and security updates. **After that year we will end our development of the Deno runtime**. Deno will remain open source, and we welcome others who want to continue its development."

Upvotes

378

Comments

75

Upvote ratio

0.98

Source ratio on a 0–1 scale

Posted

Oct 9, 2026, 18:10:21 UTC

Post ID
t3_1x1sjrx
Flair
null
Observed at
Oct 10, 2026, 08:23:08 UTC
post

Principal Factor Analysis in Javascript - written in AssemblyScript

r/typescript · u/bitanath

Hello, Here's a small package to do principal factor analysis in Javascript. The source is in pure AssemblyScript (compiles to both WASM and JS), and matches numerically to the Python package factor-analyzer. This might be useful to some. [https://github.com/bitanath/factor](https://github.com/bitanath/factor)

Read full text

Hello, Here's a small package to do principal factor analysis in Javascript. The source is in pure AssemblyScript (compiles to both WASM and JS), and matches numerically to the Python package factor-analyzer. This might be useful to some. [https://github.com/bitanath/factor](https://github.com/bitanath/factor)

Upvotes

0

Comments

3

Upvote ratio

0.4

Source ratio on a 0–1 scale

Posted

Oct 9, 2026, 14:27:07 UTC

Post ID
t3_1x1mtfx
Flair
null
Observed at
Oct 10, 2026, 08:23:08 UTC
post

Experiment: conditional async/await for buffered writes

r/typescript · u/DrMiaow

I’ve assembled an experimental TypeScript fork with a [branch ](https://github.com/metawrap-dev/TypeScript/tree/conditional-async-await)to explore conditional completion in buffered-writing pipelines. Most small writes complete immediately in memory. Occasionally, a write triggers an asynchronous flush. An API returning `void | Promise<void>` handles that efficiently, but callers repeatedly need: const pending1 = buffer.write(value1); if (pending1) await pending1; const pending2 = buffer.write(value2); if (pending2) await pending2; const pending3 = buffer.write(value3); if (pending3) await pending3; Preserving synchronous completion through several layers requires further branching or explicit continuations. I’m exploring whether we can express that sequence clearly without distributing completion bookkeeping throughout the application. The experimental syntax is: async? function writeRecord(buffer, record) { await? buffer.write(record.header); await? buffer.write(record.payload); await? buffer.write(record.trailer); } `await?` continues synchronously for plain values and suspends for thenables. `async?` returns a plain result when it completes synchronously, or a Promise when suspension is required. Errors before suspension throw synchronously; errors after suspension reject the returned Promise. Nested thenables are assimilated. I understand that introducing runtime syntax is outside TypeScript’s current design goals. This is an independent experiment and request for feedback, rather than a request to adopt nonstandard syntax upstream. The fork includes inferred union return types, declaration emit, generated JavaScript examples, runtime tests across five targets, and a discussion of historical objections. Supported short sequences and loops generate direct continuations, creating callbacks only when suspension is needed; complex bodies retain a generator fallback. Latest layered buffered-write measurements: |Implementation|Memory|Microtask flushes|File writes| |:-|:-|:-|:-| |Ordinary async/await|27.52 ms|26.19 ms|33.60 ms| |Conditional async/await|6.04 ms|5.39 ms|11.25 ms| |Manual continuations|5.94 ms|4.01 ms|10.38 ms| These are pooled medians from 27 samples per case, writing 100,000 records / 300,000 small writes on Node v24.19.0. They are synthetic measurements from a shared environment; file writes omit `fsync`. The RFC includes raw results, reproduction instructions, and limitations. I’d particularly welcome feedback on the mixed completion contract, observable timing and error behavior, generated code, and cleaner alternatives that preserve the synchronous path. [Implementation and RFC](https://github.com/metawrap-dev/TypeScript/blob/conditional-async-await/CONDITIONAL_ASYNC.md) Disclosure: The implementation, benchmarks, and documentation were developed with AI assistance.

Read full text

I’ve assembled an experimental TypeScript fork with a [branch ](https://github.com/metawrap-dev/TypeScript/tree/conditional-async-await)to explore conditional completion in buffered-writing pipelines. Most small writes complete immediately in memory. Occasionally, a write triggers an asynchronous flush. An API returning `void | Promise<void>` handles that efficiently, but callers repeatedly need: const pending1 = buffer.write(value1); if (pending1) await pending1; const pending2 = buffer.write(value2); if (pending2) await pending2; const pending3 = buffer.write(value3); if (pending3) await pending3; Preserving synchronous completion through several layers requires further branching or explicit continuations. I’m exploring whether we can express that sequence clearly without distributing completion bookkeeping throughout the application. The experimental syntax is: async? function writeRecord(buffer, record) { await? buffer.write(record.header); await? buffer.write(record.payload); await? buffer.write(record.trailer); } `await?` continues synchronously for plain values and suspends for thenables. `async?` returns a plain result when it completes synchronously, or a Promise when suspension is required. Errors before suspension throw synchronously; errors after suspension reject the returned Promise. Nested thenables are assimilated. I understand that introducing runtime syntax is outside TypeScript’s current design goals. This is an independent experiment and request for feedback, rather than a request to adopt nonstandard syntax upstream. The fork includes inferred union return types, declaration emit, generated JavaScript examples, runtime tests across five targets, and a discussion of historical objections. Supported short sequences and loops generate direct continuations, creating callbacks only when suspension is needed; complex bodies retain a generator fallback. Latest layered buffered-write measurements: |Implementation|Memory|Microtask flushes|File writes| |:-|:-|:-|:-| |Ordinary async/await|27.52 ms|26.19 ms|33.60 ms| |Conditional async/await|6.04 ms|5.39 ms|11.25 ms| |Manual continuations|5.94 ms|4.01 ms|10.38 ms| These are pooled medians from 27 samples per case, writing 100,000 records / 300,000 small writes on Node v24.19.0. They are synthetic measurements from a shared environment; file writes omit `fsync`. The RFC includes raw results, reproduction instructions, and limitations. I’d particularly welcome feedback on the mixed completion contract, observable timing and error behavior, generated code, and cleaner alternatives that preserve the synchronous path. [Implementation and RFC](https://github.com/metawrap-dev/TypeScript/blob/conditional-async-await/CONDITIONAL_ASYNC.md) Disclosure: The implementation, benchmarks, and documentation were developed with AI assistance.

Upvotes

0

Comments

13

Upvote ratio

0.5

Source ratio on a 0–1 scale

Posted

Oct 9, 2026, 11:21:31 UTC

Post ID
t3_1x1irg1
Flair
null
Observed at
Oct 10, 2026, 08:23:08 UTC
post

Vibecoded TypeScript -> Rust ports that have been popping up lately

r/typescript · u/dumbmatter

Recently several ports of the TS compiler to Rust have been announced, including: https://github.com/pingdotgg/ts-rust https://github.com/maschwenk/tsrs https://x.com/bunjavascript/status/2107560647525548116 Over on [HN](https://news.ycombinator.com/item?id=50000877) a TypeScript dev called this "impressive work" and "crazy" which sounds about right.

Read full text

Recently several ports of the TS compiler to Rust have been announced, including: https://github.com/pingdotgg/ts-rust https://github.com/maschwenk/tsrs https://x.com/bunjavascript/status/2107560647525548116 Over on [HN](https://news.ycombinator.com/item?id=50000877) a TypeScript dev called this "impressive work" and "crazy" which sounds about right.

Upvotes

0

Comments

6

Upvote ratio

0.23

Source ratio on a 0–1 scale

Posted

Oct 8, 2026, 03:30:52 UTC

Post ID
t3_1x0glk8
Flair
null
Observed at
Oct 10, 2026, 08:23:08 UTC
post

Every PR on my team is written by AI now

r/typescript · u/Few-Pilot7575

Just want to share where my team is and see if anyone else is in the same spot. I went back through our last 60 merged PRs and every single one was written by an agent. Features, tests, migrations, even the type definitions. I barely write TypeScript anymore, I describe it. And the output is good, so nothing to complain. It follows our lint rules, the types are stricter than what we used to write by hand, and coderabbit catches most of the dumb stuff before a human looks The only real downside so far is when it doesn't have enough context it invents a new type instead of using the one we already have, and you end up with 3 slightly different User types Mind you this is a big monorepo, not a toy project. I didn't expect it to go this fast. But I do wonder about the day when the human in the loop is just there to click merge :/

Read full text

Just want to share where my team is and see if anyone else is in the same spot. I went back through our last 60 merged PRs and every single one was written by an agent. Features, tests, migrations, even the type definitions. I barely write TypeScript anymore, I describe it. And the output is good, so nothing to complain. It follows our lint rules, the types are stricter than what we used to write by hand, and coderabbit catches most of the dumb stuff before a human looks The only real downside so far is when it doesn't have enough context it invents a new type instead of using the one we already have, and you end up with 3 slightly different User types Mind you this is a big monorepo, not a toy project. I didn't expect it to go this fast. But I do wonder about the day when the human in the loop is just there to click merge :/

Upvotes

130

Comments

110

Upvote ratio

0.86

Source ratio on a 0–1 scale

Posted

Oct 7, 2026, 09:38:40 UTC

Post ID
t3_1wzs8le
Flair
null
Observed at
Oct 10, 2026, 08:23:08 UTC
post

I ported Verovio to 100% TypeScript - introducing Verovio-TS

r/typescript · u/manh9011

I’ve been working on something that may be useful for people building music software on the web: **Verovio-TS - a 100% TypeScript port of Verovio.** The goal is simple: bring the Verovio engraving engine into the TypeScript ecosystem **without requiring WebAssembly**. Verovio is already an excellent engraving engine for MEI, MusicXML and symbolic music. But for some projects, having the engine itself available as native TypeScript opens up a very different set of possibilities. # Why TypeScript? I wanted to make it easier to build things where the notation engine is not just a renderer, but part of the application logic itself. For example: * Browser-based notation editors * Music education applications * MIDI ↔ MusicXML workflows * AI-assisted composition tools * AI music analysis and annotation * Interactive score editors * Music generation / transformation pipelines * Server-side music processing with Node.js * Custom notation experiments * Libraries built on top of a programmable notation model With a native TypeScript implementation, projects can potentially inspect, manipulate, extend and integrate the notation engine directly with the rest of a JavaScript/TypeScript application. # What I’m trying to achieve This is not intended to replace the original Verovio. The original C++ implementation remains the reference implementation and is an incredible piece of software. My goal is instead to provide **another option** for developers who are already working in the TypeScript ecosystem. The project is a direct port of Verovio's underlying logic and data structures into TypeScript, with the intention of preserving its behavior as closely as possible rather than creating a simplified reimplementation. That means the project is fairly deep - this is much more than wrapping an existing renderer with a TypeScript API. # Why I think this matters for AI + music I’m particularly interested in what becomes possible when symbolic music representation, notation, MIDI and AI can all live in the same environment. We're seeing more and more music AI systems that can generate or analyze symbolic music, but there is still a gap between: **AI output ➔ structured music representation ➔ editable score ➔ visual notation ➔ playback** A TypeScript-native notation engine could be one of the building blocks for connecting those pieces together. For example, an AI system could potentially generate a musical structure, modify it programmatically, inspect the resulting notation, render it, export it, and feed the result into another part of the application - all inside a unified JS/TS ecosystem. That's the direction I'm hoping this project can help explore. # Project GitHub: [https://github.com/manh9011/VerovioTS](https://github.com/manh9011/VerovioTS) NPM: [https://www.npmjs.com/package/verovio-ts](https://www.npmjs.com/package/verovio-ts) I’d really like this project to become useful beyond my own projects, especially for people experimenting with: **music + AI + symbolic music + notation + web technologies.** There are probably many things that can be built on top of this that I haven't even thought of yet. So I'm putting it out there in the hope that it gives developers **one more building block and one more choice** when creating the next generation of music software. Feedback, bug reports, comparisons with the original Verovio, and especially interesting projects built on top of it are very welcome.

Read full text

I’ve been working on something that may be useful for people building music software on the web: **Verovio-TS - a 100% TypeScript port of Verovio.** The goal is simple: bring the Verovio engraving engine into the TypeScript ecosystem **without requiring WebAssembly**. Verovio is already an excellent engraving engine for MEI, MusicXML and symbolic music. But for some projects, having the engine itself available as native TypeScript opens up a very different set of possibilities. # Why TypeScript? I wanted to make it easier to build things where the notation engine is not just a renderer, but part of the application logic itself. For example: * Browser-based notation editors * Music education applications * MIDI ↔ MusicXML workflows * AI-assisted composition tools * AI music analysis and annotation * Interactive score editors * Music generation / transformation pipelines * Server-side music processing with Node.js * Custom notation experiments * Libraries built on top of a programmable notation model With a native TypeScript implementation, projects can potentially inspect, manipulate, extend and integrate the notation engine directly with the rest of a JavaScript/TypeScript application. # What I’m trying to achieve This is not intended to replace the original Verovio. The original C++ implementation remains the reference implementation and is an incredible piece of software. My goal is instead to provide **another option** for developers who are already working in the TypeScript ecosystem. The project is a direct port of Verovio's underlying logic and data structures into TypeScript, with the intention of preserving its behavior as closely as possible rather than creating a simplified reimplementation. That means the project is fairly deep - this is much more than wrapping an existing renderer with a TypeScript API. # Why I think this matters for AI + music I’m particularly interested in what becomes possible when symbolic music representation, notation, MIDI and AI can all live in the same environment. We're seeing more and more music AI systems that can generate or analyze symbolic music, but there is still a gap between: **AI output ➔ structured music representation ➔ editable score ➔ visual notation ➔ playback** A TypeScript-native notation engine could be one of the building blocks for connecting those pieces together. For example, an AI system could potentially generate a musical structure, modify it programmatically, inspect the resulting notation, render it, export it, and feed the result into another part of the application - all inside a unified JS/TS ecosystem. That's the direction I'm hoping this project can help explore. # Project GitHub: [https://github.com/manh9011/VerovioTS](https://github.com/manh9011/VerovioTS) NPM: [https://www.npmjs.com/package/verovio-ts](https://www.npmjs.com/package/verovio-ts) I’d really like this project to become useful beyond my own projects, especially for people experimenting with: **music + AI + symbolic music + notation + web technologies.** There are probably many things that can be built on top of this that I haven't even thought of yet. So I'm putting it out there in the hope that it gives developers **one more building block and one more choice** when creating the next generation of music software. Feedback, bug reports, comparisons with the original Verovio, and especially interesting projects built on top of it are very welcome.

Upvotes

0

Comments

7

Upvote ratio

0.33

Source ratio on a 0–1 scale

Posted

Oct 6, 2026, 23:23:12 UTC

Post ID
t3_1wzhfga
Flair
null
Observed at
Oct 10, 2026, 08:23:08 UTC
post

What are teams shipping for react native E2E testing right now?

r/typescript · u/Lost_Kaleidoscope314

Our E2E setup started on Detox, drifted into a partial Maestro move about a year in and it's been a hybrid of the two ever since depending on which screen is being tested. Detox still handles the native heavy stuff fine, Maestro's nicer for anything purely RN but neither covers everything cleanly once native modules get involved. I'm really curious what other teams have landed on for 2026, especially anyone dealing with a similarly mixed RN and native codebase.

Read full text

Our E2E setup started on Detox, drifted into a partial Maestro move about a year in and it's been a hybrid of the two ever since depending on which screen is being tested. Detox still handles the native heavy stuff fine, Maestro's nicer for anything purely RN but neither covers everything cleanly once native modules get involved. I'm really curious what other teams have landed on for 2026, especially anyone dealing with a similarly mixed RN and native codebase.

Upvotes

2

Comments

6

Upvote ratio

0.75

Source ratio on a 0–1 scale

Posted

Oct 6, 2026, 20:25:18 UTC

Post ID
t3_1wzd9ta
Flair
null
Observed at
Oct 10, 2026, 08:23:08 UTC
post

elemen-ts — Build reactive UIs in plain TypeScript, without JSX (or any other template language)

r/typescript · u/ueberst

Hi everyone, I’ve been experimenting with TypeScript to see whether it’s possible to build reusable, TypeScript only components, with HTML elements that stand out visually in the code, making the “markup” as easy to scan as HTML or JSX. The main goal is to do this entirely in TypeScript, without introducing a new syntax that requires custom parsers or editor/IDE plugins. The result is **elemen-ts**. Check out how it's done: Info and examples: [https://huberst.github.io/elemen-ts/](https://huberst.github.io/elemen-ts/) GitHub: [https://github.com/Huberst/elemen-ts](https://github.com/Huberst/elemen-ts) DOM updates are triggered exclusively by reactive adapters, which wrap your signals, RxJS observables or other reactive sources through custom adapters. You can pass these adapters to properties and attributes, use them as text children, or pass them to control structures such as `_IF` and `_EACH` to render dynamic content. If this sounds interesting, I’d love for you to give it a try! I’m curious to hear what feels intuitive, what’s confusing, and what could be improved. Questions and suggestions are very welcome. Example with \_IF, \_EACH, using reactive adapters to update the DOM. [Check out how the HTML Elements are visually distinct by semantic highlighting, because they are classes.](https://preview.redd.it/d2cb7fdjvqth1.png?width=1534&format=png&auto=webp&s=614236744ec4822cf8a5f8b0f2e075e8d5e9f2e6)

Read full text

Hi everyone, I’ve been experimenting with TypeScript to see whether it’s possible to build reusable, TypeScript only components, with HTML elements that stand out visually in the code, making the “markup” as easy to scan as HTML or JSX. The main goal is to do this entirely in TypeScript, without introducing a new syntax that requires custom parsers or editor/IDE plugins. The result is **elemen-ts**. Check out how it's done: Info and examples: [https://huberst.github.io/elemen-ts/](https://huberst.github.io/elemen-ts/) GitHub: [https://github.com/Huberst/elemen-ts](https://github.com/Huberst/elemen-ts) DOM updates are triggered exclusively by reactive adapters, which wrap your signals, RxJS observables or other reactive sources through custom adapters. You can pass these adapters to properties and attributes, use them as text children, or pass them to control structures such as `_IF` and `_EACH` to render dynamic content. If this sounds interesting, I’d love for you to give it a try! I’m curious to hear what feels intuitive, what’s confusing, and what could be improved. Questions and suggestions are very welcome. Example with \_IF, \_EACH, using reactive adapters to update the DOM. [Check out how the HTML Elements are visually distinct by semantic highlighting, because they are classes.](https://preview.redd.it/d2cb7fdjvqth1.png?width=1534&format=png&auto=webp&s=614236744ec4822cf8a5f8b0f2e075e8d5e9f2e6)

Upvotes

0

Comments

17

Upvote ratio

0.27

Source ratio on a 0–1 scale

Posted

Oct 6, 2026, 01:01:36 UTC

Post ID
t3_1wypj7e
Flair
null
Observed at
Oct 10, 2026, 08:23:08 UTC
post

Typescript: how do I make a generic function to validate incoming POST requests if each request will have a different body?

r/typescript · u/Reasonable-Job4205

I want to make a generic `validateRequest()` function for my web server that will take in any incoming request and check some things to make sure everything is good. The problem is that each request could have a potentially different body. The way I have it set up right now is that it works to validate 1 type of request, but that's because I passed in the exact model of the request in the function's parms. `validateRequest(req: Request<object, object, RequestModel1>, someOtherParm: number): [number, string] {}` Each of the different possible bodys of a valid request will share one field - I need to be able to validate the value in this field, regardless of the shape of the body of the incoming request. I also am very security-conscious, so I want to make sure whatever solution I end up with here won't put me at risk of accepting an incoming request that is bogus or malicious. How would I modify my function to handle this?

Read full text

I want to make a generic `validateRequest()` function for my web server that will take in any incoming request and check some things to make sure everything is good. The problem is that each request could have a potentially different body. The way I have it set up right now is that it works to validate 1 type of request, but that's because I passed in the exact model of the request in the function's parms. `validateRequest(req: Request<object, object, RequestModel1>, someOtherParm: number): [number, string] {}` Each of the different possible bodys of a valid request will share one field - I need to be able to validate the value in this field, regardless of the shape of the body of the incoming request. I also am very security-conscious, so I want to make sure whatever solution I end up with here won't put me at risk of accepting an incoming request that is bogus or malicious. How would I modify my function to handle this?

Upvotes

23

Comments

39

Upvote ratio

0.93

Source ratio on a 0–1 scale

Posted

Oct 4, 2026, 05:42:45 UTC

Post ID
t3_1wx7w2l
Flair
null
Observed at
Oct 10, 2026, 08:23:08 UTC
Preview notes (1)
This preview is a small source sample, not a complete subreddit or search result. No comments or full discussion trees are included.
Preview scope

Preview scope

Mode
community
Query
typescript
Community
typescript
Searched
Oct 10, 2026, 08:23:04 UTC
More results available
No
Export scope
Up to ten public posts from one bounded first-page preview. Body excerpts are capped at 10,000 characters. Comments are not collected; source comment counts are metadata. Missing values are unavailable, not zero.
Response details (8 fields)

Preview

Mode
community
Query
typescript
Community
typescript
Searched
Oct 10, 2026, 08:23:04 UTC
More results available
No
Export scope
Up to ten public posts from one bounded first-page preview. Body excerpts are capped at 10,000 characters. Comments are not collected; source comment counts are metadata. Missing values are unavailable, not zero.

Warnings

Warning
This preview is a small source sample, not a complete subreddit or search result. No comments or full discussion trees are included.

Posts

TypeIDTitleBodyCommunityAuthorURLUpvotesUpvote ratioCommentsCreatedScrapedFlair
postt3_1x1sjrxDeno is dead"We will support the Deno runtime for another year with monthly releases containing bug fixes and security updates. **After that year we will end our development of the Deno runtime**. Deno will remain open source, and we welcome others who want to continue its development."r/typescriptbasixuserhttps://www.reddit.com/r/typescript/comments/1x1sjrx/deno_is_dead/3780.9875Oct 9, 2026, 18:10:21 UTCOct 10, 2026, 08:23:08 UTCnull
postt3_1x1mtfxPrincipal Factor Analysis in Javascript - written in AssemblyScriptHello, Here's a small package to do principal factor analysis in Javascript. The source is in pure AssemblyScript (compiles to both WASM and JS), and matches numerically to the Python package factor-analyzer. This might be useful to some. [https://github.com/bitanath/factor](https://github.com/bitanath/factor)r/typescriptbitanathhttps://www.reddit.com/r/typescript/comments/1x1mtfx/principal_factor_analysis_in_javascript_written/00.43Oct 9, 2026, 14:27:07 UTCOct 10, 2026, 08:23:08 UTCnull
postt3_1x1irg1Experiment: conditional async/await for buffered writesI’ve assembled an experimental TypeScript fork with a [branch ](https://github.com/metawrap-dev/TypeScript/tree/conditional-async-await)to explore conditional completion in buffered-writing pipelines. Most small writes complete immediately in memory. Occasionally, a write triggers an asynchronous flush. An API returning `void | Promise<void>` handles that efficiently, but callers repeatedly need: const pending1 = buffer.write(value1); if (pending1) await pending1; const pending2 = buffer.write(value2); if (pending2) await pending2; const pending3 = buffer.write(value3); if (pending3) await pending3; Preserving synchronous completion through several layers requires further branching or explicit continuations. I’m exploring whether we can express that sequence clearly without distributing completion bookkeeping throughout the application. The experimental syntax is: async? function writeRecord(buffer, record) { await? buffer.write(record.header); await? buffer.write(record.payload); await? buffer.write(record.trailer); } `await?` continues synchronously for plain values and suspends for thenables. `async?` returns a plain result when it completes synchronously, or a Promise when suspension is required. Errors before suspension throw synchronously; errors after suspension reject the returned Promise. Nested thenables are assimilated. I understand that introducing runtime syntax is outside TypeScript’s current design goals. This is an independent experiment and request for feedback, rather than a request to adopt nonstandard syntax upstream. The fork includes inferred union return types, declaration emit, generated JavaScript examples, runtime tests across five targets, and a discussion of historical objections. Supported short sequences and loops generate direct continuations, creating callbacks only when suspension is needed; complex bodies retain a generator fallback. Latest layered buffered-write measurements: |Implementation|Memory|Microtask flushes|File writes| |:-|:-|:-|:-| |Ordinary async/await|27.52 ms|26.19 ms|33.60 ms| |Conditional async/await|6.04 ms|5.39 ms|11.25 ms| |Manual continuations|5.94 ms|4.01 ms|10.38 ms| These are pooled medians from 27 samples per case, writing 100,000 records / 300,000 small writes on Node v24.19.0. They are synthetic measurements from a shared environment; file writes omit `fsync`. The RFC includes raw results, reproduction instructions, and limitations. I’d particularly welcome feedback on the mixed completion contract, observable timing and error behavior, generated code, and cleaner alternatives that preserve the synchronous path. [Implementation and RFC](https://github.com/metawrap-dev/TypeScript/blob/conditional-async-await/CONDITIONAL_ASYNC.md) Disclosure: The implementation, benchmarks, and documentation were developed with AI assistance.r/typescriptDrMiaowhttps://www.reddit.com/r/typescript/comments/1x1irg1/experiment_conditional_asyncawait_for_buffered/00.513Oct 9, 2026, 11:21:31 UTCOct 10, 2026, 08:23:08 UTCnull
postt3_1x0glk8Vibecoded TypeScript -> Rust ports that have been popping up latelyRecently several ports of the TS compiler to Rust have been announced, including: https://github.com/pingdotgg/ts-rust https://github.com/maschwenk/tsrs https://x.com/bunjavascript/status/2107560647525548116 Over on [HN](https://news.ycombinator.com/item?id=50000877) a TypeScript dev called this "impressive work" and "crazy" which sounds about right.r/typescriptdumbmatterhttps://www.reddit.com/r/typescript/comments/1x0glk8/vibecoded_typescript_rust_ports_that_have_been/00.236Oct 8, 2026, 03:30:52 UTCOct 10, 2026, 08:23:08 UTCnull
postt3_1wzs8leEvery PR on my team is written by AI nowJust want to share where my team is and see if anyone else is in the same spot. I went back through our last 60 merged PRs and every single one was written by an agent. Features, tests, migrations, even the type definitions. I barely write TypeScript anymore, I describe it. And the output is good, so nothing to complain. It follows our lint rules, the types are stricter than what we used to write by hand, and coderabbit catches most of the dumb stuff before a human looks The only real downside so far is when it doesn't have enough context it invents a new type instead of using the one we already have, and you end up with 3 slightly different User types Mind you this is a big monorepo, not a toy project. I didn't expect it to go this fast. But I do wonder about the day when the human in the loop is just there to click merge :/r/typescriptFew-Pilot7575https://www.reddit.com/r/typescript/comments/1wzs8le/every_pr_on_my_team_is_written_by_ai_now/1300.86110Oct 7, 2026, 09:38:40 UTCOct 10, 2026, 08:23:08 UTCnull
postt3_1wzo9z0TTSC, TS-NODE alternative, TypeScript Runtime with Type CheckingEmpty stringr/typescriptjhnam88https://www.reddit.com/r/typescript/comments/1wzo9z0/ttsc_tsnode_alternative_typescript_runtime_with/180.953Oct 7, 2026, 05:21:10 UTCOct 10, 2026, 08:23:08 UTCnull
postt3_1wzhfgaI ported Verovio to 100% TypeScript - introducing Verovio-TSI’ve been working on something that may be useful for people building music software on the web: **Verovio-TS - a 100% TypeScript port of Verovio.** The goal is simple: bring the Verovio engraving engine into the TypeScript ecosystem **without requiring WebAssembly**. Verovio is already an excellent engraving engine for MEI, MusicXML and symbolic music. But for some projects, having the engine itself available as native TypeScript opens up a very different set of possibilities. # Why TypeScript? I wanted to make it easier to build things where the notation engine is not just a renderer, but part of the application logic itself. For example: * Browser-based notation editors * Music education applications * MIDI ↔ MusicXML workflows * AI-assisted composition tools * AI music analysis and annotation * Interactive score editors * Music generation / transformation pipelines * Server-side music processing with Node.js * Custom notation experiments * Libraries built on top of a programmable notation model With a native TypeScript implementation, projects can potentially inspect, manipulate, extend and integrate the notation engine directly with the rest of a JavaScript/TypeScript application. # What I’m trying to achieve This is not intended to replace the original Verovio. The original C++ implementation remains the reference implementation and is an incredible piece of software. My goal is instead to provide **another option** for developers who are already working in the TypeScript ecosystem. The project is a direct port of Verovio's underlying logic and data structures into TypeScript, with the intention of preserving its behavior as closely as possible rather than creating a simplified reimplementation. That means the project is fairly deep - this is much more than wrapping an existing renderer with a TypeScript API. # Why I think this matters for AI + music I’m particularly interested in what becomes possible when symbolic music representation, notation, MIDI and AI can all live in the same environment. We're seeing more and more music AI systems that can generate or analyze symbolic music, but there is still a gap between: **AI output ➔ structured music representation ➔ editable score ➔ visual notation ➔ playback** A TypeScript-native notation engine could be one of the building blocks for connecting those pieces together. For example, an AI system could potentially generate a musical structure, modify it programmatically, inspect the resulting notation, render it, export it, and feed the result into another part of the application - all inside a unified JS/TS ecosystem. That's the direction I'm hoping this project can help explore. # Project GitHub: [https://github.com/manh9011/VerovioTS](https://github.com/manh9011/VerovioTS) NPM: [https://www.npmjs.com/package/verovio-ts](https://www.npmjs.com/package/verovio-ts) I’d really like this project to become useful beyond my own projects, especially for people experimenting with: **music + AI + symbolic music + notation + web technologies.** There are probably many things that can be built on top of this that I haven't even thought of yet. So I'm putting it out there in the hope that it gives developers **one more building block and one more choice** when creating the next generation of music software. Feedback, bug reports, comparisons with the original Verovio, and especially interesting projects built on top of it are very welcome.r/typescriptmanh9011https://www.reddit.com/r/typescript/comments/1wzhfga/i_ported_verovio_to_100_typescript_introducing/00.337Oct 6, 2026, 23:23:12 UTCOct 10, 2026, 08:23:08 UTCnull
postt3_1wzd9taWhat are teams shipping for react native E2E testing right now?Our E2E setup started on Detox, drifted into a partial Maestro move about a year in and it's been a hybrid of the two ever since depending on which screen is being tested. Detox still handles the native heavy stuff fine, Maestro's nicer for anything purely RN but neither covers everything cleanly once native modules get involved. I'm really curious what other teams have landed on for 2026, especially anyone dealing with a similarly mixed RN and native codebase. r/typescriptLost_Kaleidoscope314https://www.reddit.com/r/typescript/comments/1wzd9ta/what_are_teams_shipping_for_react_native_e2e/20.756Oct 6, 2026, 20:25:18 UTCOct 10, 2026, 08:23:08 UTCnull
postt3_1wypj7eelemen-ts — Build reactive UIs in plain TypeScript, without JSX (or any other template language)Hi everyone, I’ve been experimenting with TypeScript to see whether it’s possible to build reusable, TypeScript only components, with HTML elements that stand out visually in the code, making the “markup” as easy to scan as HTML or JSX. The main goal is to do this entirely in TypeScript, without introducing a new syntax that requires custom parsers or editor/IDE plugins. The result is **elemen-ts**. Check out how it's done: Info and examples: [https://huberst.github.io/elemen-ts/](https://huberst.github.io/elemen-ts/) GitHub: [https://github.com/Huberst/elemen-ts](https://github.com/Huberst/elemen-ts) DOM updates are triggered exclusively by reactive adapters, which wrap your signals, RxJS observables or other reactive sources through custom adapters. You can pass these adapters to properties and attributes, use them as text children, or pass them to control structures such as `_IF` and `_EACH` to render dynamic content. If this sounds interesting, I’d love for you to give it a try! I’m curious to hear what feels intuitive, what’s confusing, and what could be improved. Questions and suggestions are very welcome. Example with \_IF, \_EACH, using reactive adapters to update the DOM. [Check out how the HTML Elements are visually distinct by semantic highlighting, because they are classes.](https://preview.redd.it/d2cb7fdjvqth1.png?width=1534&format=png&auto=webp&s=614236744ec4822cf8a5f8b0f2e075e8d5e9f2e6) r/typescriptuebersthttps://www.reddit.com/r/typescript/comments/1wypj7e/elements_build_reactive_uis_in_plain_typescript/00.2717Oct 6, 2026, 01:01:36 UTCOct 10, 2026, 08:23:08 UTCnull
postt3_1wx7w2lTypescript: how do I make a generic function to validate incoming POST requests if each request will have a different body?I want to make a generic `validateRequest()` function for my web server that will take in any incoming request and check some things to make sure everything is good. The problem is that each request could have a potentially different body. The way I have it set up right now is that it works to validate 1 type of request, but that's because I passed in the exact model of the request in the function's parms. `validateRequest(req: Request<object, object, RequestModel1>, someOtherParm: number): [number, string] {}` Each of the different possible bodys of a valid request will share one field - I need to be able to validate the value in this field, regardless of the shape of the body of the incoming request. I also am very security-conscious, so I want to make sure whatever solution I end up with here won't put me at risk of accepting an incoming request that is bogus or malicious. How would I modify my function to handle this?r/typescriptReasonable-Job4205https://www.reddit.com/r/typescript/comments/1wx7w2l/typescript_how_do_i_make_a_generic_function_to/230.9339Oct 4, 2026, 05:42:45 UTCOct 10, 2026, 08:23:08 UTCnull

Only returned fields are shown.

All returned fields

mode
community
query
typescript
community
typescript
searchedAt
2026-10-10T08:23:04.313Z
items
  1. #1
    dataType
    post
    id
    t3_1x1sjrx
    title
    Deno is dead
    body
    "We will support the Deno runtime for another year with monthly releases containing bug fixes and security updates. **After that year we will end our development of the Deno runtime**. Deno will remain open source, and we welcome others who want to continue its development."
    communityName
    r/typescript
    username
    basixuser
    url
    https://www.reddit.com/r/typescript/comments/1x1sjrx/deno_is_dead/
    upVotes
    378
    upVoteRatio
    0.98
    numberOfComments
    75
    createdAt
    2026-10-09T18:10:21.000Z
    scrapedAt
    2026-10-10T08:23:08.344Z
    flair
    null
  2. #2
    dataType
    post
    id
    t3_1x1mtfx
    title
    Principal Factor Analysis in Javascript - written in AssemblyScript
    body
    Hello, Here's a small package to do principal factor analysis in Javascript. The source is in pure AssemblyScript (compiles to both WASM and JS), and matches numerically to the Python package factor-analyzer. This might be useful to some. [https://github.com/bitanath/factor](https://github.com/bitanath/factor)
    communityName
    r/typescript
    username
    bitanath
    url
    https://www.reddit.com/r/typescript/comments/1x1mtfx/principal_factor_analysis_in_javascript_written/
    upVotes
    0
    upVoteRatio
    0.4
    numberOfComments
    3
    createdAt
    2026-10-09T14:27:07.000Z
    scrapedAt
    2026-10-10T08:23:08.344Z
    flair
    null
  3. #3
    dataType
    post
    id
    t3_1x1irg1
    title
    Experiment: conditional async/await for buffered writes
    body
    I’ve assembled an experimental TypeScript fork with a [branch ](https://github.com/metawrap-dev/TypeScript/tree/conditional-async-await)to explore conditional completion in buffered-writing pipelines. Most small writes complete immediately in memory. Occasionally, a write triggers an asynchronous flush. An API returning `void | Promise<void>` handles that efficiently, but callers repeatedly need: const pending1 = buffer.write(value1); if (pending1) await pending1; const pending2 = buffer.write(value2); if (pending2) await pending2; const pending3 = buffer.write(value3); if (pending3) await pending3; Preserving synchronous completion through several layers requires further branching or explicit continuations. I’m exploring whether we can express that sequence clearly without distributing completion bookkeeping throughout the application. The experimental syntax is: async? function writeRecord(buffer, record) { await? buffer.write(record.header); await? buffer.write(record.payload); await? buffer.write(record.trailer); } `await?` continues synchronously for plain values and suspends for thenables. `async?` returns a plain result when it completes synchronously, or a Promise when suspension is required. Errors before suspension throw synchronously; errors after suspension reject the returned Promise. Nested thenables are assimilated. I understand that introducing runtime syntax is outside TypeScript’s current design goals. This is an independent experiment and request for feedback, rather than a request to adopt nonstandard syntax upstream. The fork includes inferred union return types, declaration emit, generated JavaScript examples, runtime tests across five targets, and a discussion of historical objections. Supported short sequences and loops generate direct continuations, creating callbacks only when suspension is needed; complex bodies retain a generator fallback. Latest layered buffered-write measurements: |Implementation|Memory|Microtask flushes|File writes| |:-|:-|:-|:-| |Ordinary async/await|27.52 ms|26.19 ms|33.60 ms| |Conditional async/await|6.04 ms|5.39 ms|11.25 ms| |Manual continuations|5.94 ms|4.01 ms|10.38 ms| These are pooled medians from 27 samples per case, writing 100,000 records / 300,000 small writes on Node v24.19.0. They are synthetic measurements from a shared environment; file writes omit `fsync`. The RFC includes raw results, reproduction instructions, and limitations. I’d particularly welcome feedback on the mixed completion contract, observable timing and error behavior, generated code, and cleaner alternatives that preserve the synchronous path. [Implementation and RFC](https://github.com/metawrap-dev/TypeScript/blob/conditional-async-await/CONDITIONAL_ASYNC.md) Disclosure: The implementation, benchmarks, and documentation were developed with AI assistance.
    communityName
    r/typescript
    username
    DrMiaow
    url
    https://www.reddit.com/r/typescript/comments/1x1irg1/experiment_conditional_asyncawait_for_buffered/
    upVotes
    0
    upVoteRatio
    0.5
    numberOfComments
    13
    createdAt
    2026-10-09T11:21:31.000Z
    scrapedAt
    2026-10-10T08:23:08.344Z
    flair
    null
  4. #4
    dataType
    post
    id
    t3_1x0glk8
    title
    Vibecoded TypeScript -> Rust ports that have been popping up lately
    body
    Recently several ports of the TS compiler to Rust have been announced, including: https://github.com/pingdotgg/ts-rust https://github.com/maschwenk/tsrs https://x.com/bunjavascript/status/2107560647525548116 Over on [HN](https://news.ycombinator.com/item?id=50000877) a TypeScript dev called this "impressive work" and "crazy" which sounds about right.
    communityName
    r/typescript
    username
    dumbmatter
    url
    https://www.reddit.com/r/typescript/comments/1x0glk8/vibecoded_typescript_rust_ports_that_have_been/
    upVotes
    0
    upVoteRatio
    0.23
    numberOfComments
    6
    createdAt
    2026-10-08T03:30:52.000Z
    scrapedAt
    2026-10-10T08:23:08.344Z
    flair
    null
  5. #5
    dataType
    post
    id
    t3_1wzs8le
    title
    Every PR on my team is written by AI now
    body
    Just want to share where my team is and see if anyone else is in the same spot. I went back through our last 60 merged PRs and every single one was written by an agent. Features, tests, migrations, even the type definitions. I barely write TypeScript anymore, I describe it. And the output is good, so nothing to complain. It follows our lint rules, the types are stricter than what we used to write by hand, and coderabbit catches most of the dumb stuff before a human looks The only real downside so far is when it doesn't have enough context it invents a new type instead of using the one we already have, and you end up with 3 slightly different User types Mind you this is a big monorepo, not a toy project. I didn't expect it to go this fast. But I do wonder about the day when the human in the loop is just there to click merge :/
    communityName
    r/typescript
    username
    Few-Pilot7575
    url
    https://www.reddit.com/r/typescript/comments/1wzs8le/every_pr_on_my_team_is_written_by_ai_now/
    upVotes
    130
    upVoteRatio
    0.86
    numberOfComments
    110
    createdAt
    2026-10-07T09:38:40.000Z
    scrapedAt
    2026-10-10T08:23:08.344Z
    flair
    null
  6. #6
    dataType
    post
    id
    t3_1wzo9z0
    title
    TTSC, TS-NODE alternative, TypeScript Runtime with Type Checking
    body
    Empty string
    communityName
    r/typescript
    username
    jhnam88
    url
    https://www.reddit.com/r/typescript/comments/1wzo9z0/ttsc_tsnode_alternative_typescript_runtime_with/
    upVotes
    18
    upVoteRatio
    0.95
    numberOfComments
    3
    createdAt
    2026-10-07T05:21:10.000Z
    scrapedAt
    2026-10-10T08:23:08.344Z
    flair
    null
  7. #7
    dataType
    post
    id
    t3_1wzhfga
    title
    I ported Verovio to 100% TypeScript - introducing Verovio-TS
    body
    I’ve been working on something that may be useful for people building music software on the web: **Verovio-TS - a 100% TypeScript port of Verovio.** The goal is simple: bring the Verovio engraving engine into the TypeScript ecosystem **without requiring WebAssembly**. Verovio is already an excellent engraving engine for MEI, MusicXML and symbolic music. But for some projects, having the engine itself available as native TypeScript opens up a very different set of possibilities. # Why TypeScript? I wanted to make it easier to build things where the notation engine is not just a renderer, but part of the application logic itself. For example: * Browser-based notation editors * Music education applications * MIDI ↔ MusicXML workflows * AI-assisted composition tools * AI music analysis and annotation * Interactive score editors * Music generation / transformation pipelines * Server-side music processing with Node.js * Custom notation experiments * Libraries built on top of a programmable notation model With a native TypeScript implementation, projects can potentially inspect, manipulate, extend and integrate the notation engine directly with the rest of a JavaScript/TypeScript application. # What I’m trying to achieve This is not intended to replace the original Verovio. The original C++ implementation remains the reference implementation and is an incredible piece of software. My goal is instead to provide **another option** for developers who are already working in the TypeScript ecosystem. The project is a direct port of Verovio's underlying logic and data structures into TypeScript, with the intention of preserving its behavior as closely as possible rather than creating a simplified reimplementation. That means the project is fairly deep - this is much more than wrapping an existing renderer with a TypeScript API. # Why I think this matters for AI + music I’m particularly interested in what becomes possible when symbolic music representation, notation, MIDI and AI can all live in the same environment. We're seeing more and more music AI systems that can generate or analyze symbolic music, but there is still a gap between: **AI output ➔ structured music representation ➔ editable score ➔ visual notation ➔ playback** A TypeScript-native notation engine could be one of the building blocks for connecting those pieces together. For example, an AI system could potentially generate a musical structure, modify it programmatically, inspect the resulting notation, render it, export it, and feed the result into another part of the application - all inside a unified JS/TS ecosystem. That's the direction I'm hoping this project can help explore. # Project GitHub: [https://github.com/manh9011/VerovioTS](https://github.com/manh9011/VerovioTS) NPM: [https://www.npmjs.com/package/verovio-ts](https://www.npmjs.com/package/verovio-ts) I’d really like this project to become useful beyond my own projects, especially for people experimenting with: **music + AI + symbolic music + notation + web technologies.** There are probably many things that can be built on top of this that I haven't even thought of yet. So I'm putting it out there in the hope that it gives developers **one more building block and one more choice** when creating the next generation of music software. Feedback, bug reports, comparisons with the original Verovio, and especially interesting projects built on top of it are very welcome.
    communityName
    r/typescript
    username
    manh9011
    url
    https://www.reddit.com/r/typescript/comments/1wzhfga/i_ported_verovio_to_100_typescript_introducing/
    upVotes
    0
    upVoteRatio
    0.33
    numberOfComments
    7
    createdAt
    2026-10-06T23:23:12.000Z
    scrapedAt
    2026-10-10T08:23:08.344Z
    flair
    null
  8. #8
    dataType
    post
    id
    t3_1wzd9ta
    title
    What are teams shipping for react native E2E testing right now?
    body
    Our E2E setup started on Detox, drifted into a partial Maestro move about a year in and it's been a hybrid of the two ever since depending on which screen is being tested. Detox still handles the native heavy stuff fine, Maestro's nicer for anything purely RN but neither covers everything cleanly once native modules get involved. I'm really curious what other teams have landed on for 2026, especially anyone dealing with a similarly mixed RN and native codebase.
    communityName
    r/typescript
    username
    Lost_Kaleidoscope314
    url
    https://www.reddit.com/r/typescript/comments/1wzd9ta/what_are_teams_shipping_for_react_native_e2e/
    upVotes
    2
    upVoteRatio
    0.75
    numberOfComments
    6
    createdAt
    2026-10-06T20:25:18.000Z
    scrapedAt
    2026-10-10T08:23:08.344Z
    flair
    null
  9. #9
    dataType
    post
    id
    t3_1wypj7e
    title
    elemen-ts — Build reactive UIs in plain TypeScript, without JSX (or any other template language)
    body
    Hi everyone, I’ve been experimenting with TypeScript to see whether it’s possible to build reusable, TypeScript only components, with HTML elements that stand out visually in the code, making the “markup” as easy to scan as HTML or JSX. The main goal is to do this entirely in TypeScript, without introducing a new syntax that requires custom parsers or editor/IDE plugins. The result is **elemen-ts**. Check out how it's done: Info and examples: [https://huberst.github.io/elemen-ts/](https://huberst.github.io/elemen-ts/) GitHub: [https://github.com/Huberst/elemen-ts](https://github.com/Huberst/elemen-ts) DOM updates are triggered exclusively by reactive adapters, which wrap your signals, RxJS observables or other reactive sources through custom adapters. You can pass these adapters to properties and attributes, use them as text children, or pass them to control structures such as `_IF` and `_EACH` to render dynamic content. If this sounds interesting, I’d love for you to give it a try! I’m curious to hear what feels intuitive, what’s confusing, and what could be improved. Questions and suggestions are very welcome. Example with \_IF, \_EACH, using reactive adapters to update the DOM. [Check out how the HTML Elements are visually distinct by semantic highlighting, because they are classes.](https://preview.redd.it/d2cb7fdjvqth1.png?width=1534&format=png&auto=webp&s=614236744ec4822cf8a5f8b0f2e075e8d5e9f2e6)
    communityName
    r/typescript
    username
    ueberst
    url
    https://www.reddit.com/r/typescript/comments/1wypj7e/elements_build_reactive_uis_in_plain_typescript/
    upVotes
    0
    upVoteRatio
    0.27
    numberOfComments
    17
    createdAt
    2026-10-06T01:01:36.000Z
    scrapedAt
    2026-10-10T08:23:08.344Z
    flair
    null
  10. #10
    dataType
    post
    id
    t3_1wx7w2l
    title
    Typescript: how do I make a generic function to validate incoming POST requests if each request will have a different body?
    body
    I want to make a generic `validateRequest()` function for my web server that will take in any incoming request and check some things to make sure everything is good. The problem is that each request could have a potentially different body. The way I have it set up right now is that it works to validate 1 type of request, but that's because I passed in the exact model of the request in the function's parms. `validateRequest(req: Request<object, object, RequestModel1>, someOtherParm: number): [number, string] {}` Each of the different possible bodys of a valid request will share one field - I need to be able to validate the value in this field, regardless of the shape of the body of the incoming request. I also am very security-conscious, so I want to make sure whatever solution I end up with here won't put me at risk of accepting an incoming request that is bogus or malicious. How would I modify my function to handle this?
    communityName
    r/typescript
    username
    Reasonable-Job4205
    url
    https://www.reddit.com/r/typescript/comments/1wx7w2l/typescript_how_do_i_make_a_generic_function_to/
    upVotes
    23
    upVoteRatio
    0.93
    numberOfComments
    39
    createdAt
    2026-10-04T05:42:45.000Z
    scrapedAt
    2026-10-10T08:23:08.344Z
    flair
    null
hasMore
false
exportScope
Up to ten public posts from one bounded first-page preview. Body excerpts are capped at 10,000 characters. Comments are not collected; source comment counts are metadata. Missing values are unavailable, not zero.
warnings
This preview is a small source sample, not a complete subreddit or search result. No comments or full discussion trees are included.

Recorded Oct 10, 2026 · Historical snapshot · Source: Reddit

TypeScript community · Oct 10, 2026application/jsonRendered ↑

This tool has no published API endpoint, so public request code is unavailable. Live preview still validates and runs the target in this workspace when the server advertises it.

1{2  "mode": "community",3  "query": "typescript",4  "community": "typescript",5  "searchedAt": "2026-10-10T08:23:04.313Z",6  "items": [7    {8      "dataType": "post",9      "id": "t3_1x1sjrx",10      "title": "Deno is dead",11      "body": "\"We will support the Deno runtime for another year with monthly releases containing bug fixes and security updates. **After that year we will end our development of the Deno runtime**. Deno will remain open source, and we welcome others who want to continue its development.\"",12      "communityName": "r/typescript",13      "username": "basixuser",14      "url": "https://www.reddit.com/r/typescript/comments/1x1sjrx/deno_is_dead/",15      "upVotes": 378,16      "upVoteRatio": 0.98,17      "numberOfComments": 75,18      "createdAt": "2026-10-09T18:10:21.000Z",19      "scrapedAt": "2026-10-10T08:23:08.344Z",20      "flair": null21    },22    {23      "dataType": "post",24      "id": "t3_1x1mtfx",25      "title": "Principal Factor Analysis in Javascript - written in AssemblyScript",26      "body": "Hello,\n\nHere's a small package to do principal factor analysis in Javascript. The source is in pure AssemblyScript (compiles to both WASM and JS), and matches numerically to the Python package factor-analyzer. This might be useful to some.\n\n[https://github.com/bitanath/factor](https://github.com/bitanath/factor)",27      "communityName": "r/typescript",28      "username": "bitanath",29      "url": "https://www.reddit.com/r/typescript/comments/1x1mtfx/principal_factor_analysis_in_javascript_written/",30      "upVotes": 0,31      "upVoteRatio": 0.4,32      "numberOfComments": 3,33      "createdAt": "2026-10-09T14:27:07.000Z",34      "scrapedAt": "2026-10-10T08:23:08.344Z",35      "flair": null36    },37    {38      "dataType": "post",39      "id": "t3_1x1irg1",40      "title": "Experiment: conditional async/await for buffered writes",41      "body": "I’ve assembled an experimental TypeScript fork with a [branch ](https://github.com/metawrap-dev/TypeScript/tree/conditional-async-await)to explore conditional completion in buffered-writing pipelines.\n\nMost small writes complete immediately in memory. Occasionally, a write triggers an asynchronous flush. An API returning `void | Promise<void>` handles that efficiently, but callers repeatedly need:\n\n    const pending1 = buffer.write(value1);\n    if (pending1) await pending1;\n    const pending2 = buffer.write(value2);\n    if (pending2) await pending2;\n    const pending3 = buffer.write(value3);\n    if (pending3) await pending3;\n\nPreserving synchronous completion through several layers requires further branching or explicit continuations. I’m exploring whether we can express that sequence clearly without distributing completion bookkeeping throughout the application.\n\nThe experimental syntax is:\n\n    async? function writeRecord(buffer, record) {\n        await? buffer.write(record.header);\n        await? buffer.write(record.payload);\n        await? buffer.write(record.trailer);\n    }\n\n`await?` continues synchronously for plain values and suspends for thenables. `async?` returns a plain result when it completes synchronously, or a Promise when suspension is required. Errors before suspension throw synchronously; errors after suspension reject the returned Promise. Nested thenables are assimilated.\n\nI understand that introducing runtime syntax is outside TypeScript’s current design goals. This is an independent experiment and request for feedback, rather than a request to adopt nonstandard syntax upstream.\n\nThe fork includes inferred union return types, declaration emit, generated JavaScript examples, runtime tests across five targets, and a discussion of historical objections. Supported short sequences and loops generate direct continuations, creating callbacks only when suspension is needed; complex bodies retain a generator fallback.\n\nLatest layered buffered-write measurements:\n\n|Implementation|Memory|Microtask flushes|File writes|\n|:-|:-|:-|:-|\n|Ordinary async/await|27.52 ms|26.19 ms|33.60 ms|\n|Conditional async/await|6.04 ms|5.39 ms|11.25 ms|\n|Manual continuations|5.94 ms|4.01 ms|10.38 ms|\n\nThese are pooled medians from 27 samples per case, writing 100,000 records / 300,000 small writes on Node v24.19.0. They are synthetic measurements from a shared environment; file writes omit `fsync`. The RFC includes raw results, reproduction instructions, and limitations.\n\nI’d particularly welcome feedback on the mixed completion contract, observable timing and error behavior, generated code, and cleaner alternatives that preserve the synchronous path.\n\n[Implementation and RFC](https://github.com/metawrap-dev/TypeScript/blob/conditional-async-await/CONDITIONAL_ASYNC.md)\n\nDisclosure: The implementation, benchmarks, and documentation were developed with AI assistance.",42      "communityName": "r/typescript",43      "username": "DrMiaow",44      "url": "https://www.reddit.com/r/typescript/comments/1x1irg1/experiment_conditional_asyncawait_for_buffered/",45      "upVotes": 0,46      "upVoteRatio": 0.5,47      "numberOfComments": 13,48      "createdAt": "2026-10-09T11:21:31.000Z",49      "scrapedAt": "2026-10-10T08:23:08.344Z",50      "flair": null51    },52    {53      "dataType": "post",54      "id": "t3_1x0glk8",55      "title": "Vibecoded TypeScript -> Rust ports that have been popping up lately",56      "body": "Recently several ports of the TS compiler to Rust have been announced, including:\n\nhttps://github.com/pingdotgg/ts-rust\n\nhttps://github.com/maschwenk/tsrs\n\nhttps://x.com/bunjavascript/status/2107560647525548116\n\nOver on [HN](https://news.ycombinator.com/item?id=50000877) a TypeScript dev called this \"impressive work\" and \"crazy\" which sounds about right.",57      "communityName": "r/typescript",58      "username": "dumbmatter",59      "url": "https://www.reddit.com/r/typescript/comments/1x0glk8/vibecoded_typescript_rust_ports_that_have_been/",60      "upVotes": 0,61      "upVoteRatio": 0.23,62      "numberOfComments": 6,63      "createdAt": "2026-10-08T03:30:52.000Z",64      "scrapedAt": "2026-10-10T08:23:08.344Z",65      "flair": null66    },67    {68      "dataType": "post",69      "id": "t3_1wzs8le",70      "title": "Every PR on my team is written by AI now",71      "body": "Just want to share where my team is and see if anyone else is in the same spot.\n\nI went back through our last 60 merged PRs and every single one was written by an agent. Features, tests, migrations, even the type definitions. I barely write TypeScript anymore, I describe it. And the output is good, so nothing to complain. It follows our lint rules, the types are stricter than what we used to write by hand, and coderabbit catches most of the dumb stuff before a human looks\n\nThe only real downside so far is when it doesn't have enough context it invents a new type instead of using the one we already have, and you end up with 3 slightly different User types\n\nMind you this is a big monorepo, not a toy project. I didn't expect it to go this fast.\n\nBut I do wonder about the day when the human in the loop is just there to click merge :/",72      "communityName": "r/typescript",73      "username": "Few-Pilot7575",74      "url": "https://www.reddit.com/r/typescript/comments/1wzs8le/every_pr_on_my_team_is_written_by_ai_now/",75      "upVotes": 130,76      "upVoteRatio": 0.86,77      "numberOfComments": 110,78      "createdAt": "2026-10-07T09:38:40.000Z",79      "scrapedAt": "2026-10-10T08:23:08.344Z",80      "flair": null81    },82    {83      "dataType": "post",84      "id": "t3_1wzo9z0",85      "title": "TTSC, TS-NODE alternative, TypeScript Runtime with Type Checking",86      "body": "",87      "communityName": "r/typescript",88      "username": "jhnam88",89      "url": "https://www.reddit.com/r/typescript/comments/1wzo9z0/ttsc_tsnode_alternative_typescript_runtime_with/",90      "upVotes": 18,91      "upVoteRatio": 0.95,92      "numberOfComments": 3,93      "createdAt": "2026-10-07T05:21:10.000Z",94      "scrapedAt": "2026-10-10T08:23:08.344Z",95      "flair": null96    },97    {98      "dataType": "post",99      "id": "t3_1wzhfga",100      "title": "I ported Verovio to 100% TypeScript - introducing Verovio-TS",101      "body": "I’ve been working on something that may be useful for people building music software on the web:\n\n**Verovio-TS - a 100% TypeScript port of Verovio.**\n\nThe goal is simple: bring the Verovio engraving engine into the TypeScript ecosystem **without requiring WebAssembly**.\n\nVerovio is already an excellent engraving engine for MEI, MusicXML and symbolic music. But for some projects, having the engine itself available as native TypeScript opens up a very different set of possibilities.\n\n# Why TypeScript?\n\nI wanted to make it easier to build things where the notation engine is not just a renderer, but part of the application logic itself.\n\nFor example:\n\n* Browser-based notation editors\n* Music education applications\n* MIDI ↔ MusicXML workflows\n* AI-assisted composition tools\n* AI music analysis and annotation\n* Interactive score editors\n* Music generation / transformation pipelines\n* Server-side music processing with Node.js\n* Custom notation experiments\n* Libraries built on top of a programmable notation model\n\nWith a native TypeScript implementation, projects can potentially inspect, manipulate, extend and integrate the notation engine directly with the rest of a JavaScript/TypeScript application.\n\n# What I’m trying to achieve\n\nThis is not intended to replace the original Verovio.\n\nThe original C++ implementation remains the reference implementation and is an incredible piece of software.\n\nMy goal is instead to provide **another option** for developers who are already working in the TypeScript ecosystem.\n\nThe project is a direct port of Verovio's underlying logic and data structures into TypeScript, with the intention of preserving its behavior as closely as possible rather than creating a simplified reimplementation.\n\nThat means the project is fairly deep - this is much more than wrapping an existing renderer with a TypeScript API.\n\n# Why I think this matters for AI + music\n\nI’m particularly interested in what becomes possible when symbolic music representation, notation, MIDI and AI can all live in the same environment.\n\nWe're seeing more and more music AI systems that can generate or analyze symbolic music, but there is still a gap between:\n\n**AI output ➔ structured music representation ➔ editable score ➔ visual notation ➔ playback**\n\nA TypeScript-native notation engine could be one of the building blocks for connecting those pieces together.\n\nFor example, an AI system could potentially generate a musical structure, modify it programmatically, inspect the resulting notation, render it, export it, and feed the result into another part of the application - all inside a unified JS/TS ecosystem.\n\nThat's the direction I'm hoping this project can help explore.\n\n# Project\n\nGitHub: [https://github.com/manh9011/VerovioTS](https://github.com/manh9011/VerovioTS)\n\nNPM: [https://www.npmjs.com/package/verovio-ts](https://www.npmjs.com/package/verovio-ts)\n\nI’d really like this project to become useful beyond my own projects, especially for people experimenting with:\n\n**music + AI + symbolic music + notation + web technologies.**\n\nThere are probably many things that can be built on top of this that I haven't even thought of yet.\n\nSo I'm putting it out there in the hope that it gives developers **one more building block and one more choice** when creating the next generation of music software.\n\nFeedback, bug reports, comparisons with the original Verovio, and especially interesting projects built on top of it are very welcome.",102      "communityName": "r/typescript",103      "username": "manh9011",104      "url": "https://www.reddit.com/r/typescript/comments/1wzhfga/i_ported_verovio_to_100_typescript_introducing/",105      "upVotes": 0,106      "upVoteRatio": 0.33,107      "numberOfComments": 7,108      "createdAt": "2026-10-06T23:23:12.000Z",109      "scrapedAt": "2026-10-10T08:23:08.344Z",110      "flair": null111    },112    {113      "dataType": "post",114      "id": "t3_1wzd9ta",115      "title": "What are teams shipping for react native E2E testing right now?",116      "body": "Our E2E setup started on Detox, drifted into a partial Maestro move about a year in and it's been a hybrid of the two ever since depending on which screen is being tested. Detox still handles the native heavy stuff fine, Maestro's nicer for anything purely RN but neither covers everything cleanly once native modules get involved. I'm really curious what other teams have landed on for 2026, especially anyone dealing with a similarly mixed RN and native codebase.\n",117      "communityName": "r/typescript",118      "username": "Lost_Kaleidoscope314",119      "url": "https://www.reddit.com/r/typescript/comments/1wzd9ta/what_are_teams_shipping_for_react_native_e2e/",120      "upVotes": 2,121      "upVoteRatio": 0.75,122      "numberOfComments": 6,123      "createdAt": "2026-10-06T20:25:18.000Z",124      "scrapedAt": "2026-10-10T08:23:08.344Z",125      "flair": null126    },127    {128      "dataType": "post",129      "id": "t3_1wypj7e",130      "title": "elemen-ts — Build reactive UIs in plain TypeScript, without JSX (or any other template language)",131      "body": "Hi everyone,\n\nI’ve been experimenting with TypeScript to see whether it’s possible to build reusable, TypeScript only components, with HTML elements that stand out visually in the code, making the “markup” as easy to scan as HTML or JSX.\n\nThe main goal is to do this entirely in TypeScript, without introducing a new syntax that requires custom parsers or editor/IDE plugins.\n\nThe result is **elemen-ts**. Check out how it's done:\n\nInfo and examples: [https://huberst.github.io/elemen-ts/](https://huberst.github.io/elemen-ts/)  \nGitHub: [https://github.com/Huberst/elemen-ts](https://github.com/Huberst/elemen-ts)\n\nDOM updates are triggered exclusively by reactive adapters, which wrap your signals, RxJS observables or other reactive sources through custom adapters. You can pass these adapters to properties and attributes, use them as text children, or pass them to control structures such as `_IF` and `_EACH` to render dynamic content.\n\nIf this sounds interesting, I’d love for you to give it a try! I’m curious to hear what feels intuitive, what’s confusing, and what could be improved. Questions and suggestions are very welcome.\n\n  \nExample with \\_IF, \\_EACH, using reactive adapters to update the DOM.\n\n[Check out how the HTML Elements are visually distinct by semantic highlighting, because they are classes.](https://preview.redd.it/d2cb7fdjvqth1.png?width=1534&format=png&auto=webp&s=614236744ec4822cf8a5f8b0f2e075e8d5e9f2e6)\n\n  \n",132      "communityName": "r/typescript",133      "username": "ueberst",134      "url": "https://www.reddit.com/r/typescript/comments/1wypj7e/elements_build_reactive_uis_in_plain_typescript/",135      "upVotes": 0,136      "upVoteRatio": 0.27,137      "numberOfComments": 17,138      "createdAt": "2026-10-06T01:01:36.000Z",139      "scrapedAt": "2026-10-10T08:23:08.344Z",140      "flair": null141    },142    {143      "dataType": "post",144      "id": "t3_1wx7w2l",145      "title": "Typescript: how do I make a generic function to validate incoming POST requests if each request will have a different body?",146      "body": "I want to make a generic `validateRequest()` function for my web server that will take in any incoming request and check some things to make sure everything is good. The problem is that each request could have a potentially different body. The way I have it set up right now is that it works to validate 1 type of request, but that's because I passed in the exact model of the request in the function's parms.\n\n`validateRequest(req: Request<object, object, RequestModel1>, someOtherParm: number): [number, string] {}`\n\nEach of the different possible bodys of a valid request will share one field - I need to be able to validate the value in this field, regardless of the shape of the body of the incoming request. I also am very security-conscious, so I want to make sure whatever solution I end up with here won't put me at risk of accepting an incoming request that is bogus or malicious. How would I modify my function to handle this?",147      "communityName": "r/typescript",148      "username": "Reasonable-Job4205",149      "url": "https://www.reddit.com/r/typescript/comments/1wx7w2l/typescript_how_do_i_make_a_generic_function_to/",150      "upVotes": 23,151      "upVoteRatio": 0.93,152      "numberOfComments": 39,153      "createdAt": "2026-10-04T05:42:45.000Z",154      "scrapedAt": "2026-10-10T08:23:08.344Z",155      "flair": null156    }157  ],158  "hasMore": false,159  "exportScope": "Up to ten public posts from one bounded first-page preview. Body excerpts are capped at 10,000 characters. Comments are not collected; source comment counts are metadata. Missing values are unavailable, not zero.",160  "warnings": [161    "This preview is a small source sample, not a complete subreddit or search result. No comments or full discussion trees are included."162  ]163}