Menu

#RedditTypescript

139 posts

Feed·
20 of 139 posts
0Read More

Surprising type of a filtered array

I have an array that contains a mix of number and string values, in other words its type is (string | number)[]: a = [0, 1, 2, NaN, 'x'] I wanted to filter only the numeric values 0, 1 and 2 that are not NaN, so I used a perfectly ordinary filter() call:…

15s
libtmux-ts 0.1 - TypeScript Client for tmux
📰
0Read More

libtmux-ts 0.1 - TypeScript Client for tmux

#typescript#reddittypescript#user#full#server

I maintain libtmux, the Python library that's been around since 2016, and am porting it to more languages. This is the TypeScript / Node.js port. In many ways, this is more capable than the current Python implementation.…

15s
0Read More

Introducing Skif - a repository/monorepo linter written in Rust

Hi Peeps, I want to share with you a tool I am working on. Its still early, but I already use it and it works well. So story goes like this - I was working on restructuring a very large monorepo with disparate package managers and versions into a single…

15s
0Read More

Galactica, a TypeScript codebase map for developers and agents

As a part of experiments exploring how we as humans fit into development processes, I built Galactica. I wanted a way to see how a codebase fits together, and to give my coding agent that same information before it starts changing things.…

15s
0Read More

I open-sourced LightVM (a high-performance VM in Rust & TS), looking for feedback!

Hi everyone! I've been working on a virtual machine originally built for internal use. I recently decided to open-source it so anyone interested in lightweight VM architecture or system experiments can try it out and test it.…

15s
0Read More

RefQL's 5th anniversary — still waiting for its first fan club

#typescript#reddittypescript#refql#type#const

Hi, RefQL is celebrating its 5th anniversary! It's a TypeScript library for writing type-safe relational queries. After 5 years, it still doesn't have many users, but I've been using it myself in production for years without problems.…

15s
0Read More

What are you using for linting/formatting these days?

Reddit r/typescript·u/DowntownMushroom4657·12 days ago
#zwm8NCjU
#linting#thinking#using#formatting#days

I've always used ESLint + Prettier, but it was getting slow and heavy, so when I found Biome I switched without thinking twice. Honestly really happy with it so far. Lately though, Oxc (oxlint + oxfmt) has been looking pretty tempting.…

15s
0Read More

Feeling lost with all the TypeScript options now. What are you actually using?

So the "too many JS frameworks" problem has kind of turned into "too many TypeScripts" lol. Regular TS, the Go port, the Rust ports, and whatever else shows up next week. I've always just used plain TypeScript and never really thought about it.…

15s
0Read More

Joist 2.5 -- State Machines, PostgreJS, and Read Locks

Hello r/typescript ! Another Joist release is out with some cool new features: https://joist-orm.io/blog/joist-2-5/ Just posting as an FYI & casual reminder that your ORM does not have to be "just a query builder".…

15s
0Read More

I got a decorator to type check the generic of the class it's on and I'm way too happy about it

#typescript#reddittypescript#code#l340#class

In my framework, every handler has to write its route twice. Once in the decorator because the runtime needs the string, and once in the generic because the types need it. @Route('ban') class Ban extends Handler {} // no errors. cool.…

15s
0Read More

How do you bridge TypeScript DTOs and Sequelize model instances?

Good day Seniors. I'm curious how other TypeScript + Sequelize users deal with the friction between DTO Types and Sequelize model instances. A common pattern I see is simply asserting types findAll: async () => { const data = await SampleModel.findAll({…

15s
0Read More

Which AI code review tool would you pick for a TypeScript monorepo??

Reddit r/typescript·u/FlatStill2540·16 days ago
#yaXJXMNi
#code#review#pick#monorepo#want

i want to add an AI reviewer to our PR workflow and i've narrowed it down to these: coderabbit bugbot claude code review codex review we're a pnpm + turborepo monorepo, around 30 pkjs, Next.js frontend and a bunch of Node services, strict mode everywhere.…

15s
X3Bun a Hono/TanStack Start/tRPC/Better-Auth Turborepo Starter App
📰
0Read More

X3Bun a Hono/TanStack Start/tRPC/Better-Auth Turborepo Starter App

This is simply a starter template that I use and I thought of sharing Bun optimized Front End: Tanstack Start, Tanstack Query, and Shadcn Backend: Hono with tRPC Authentication: Better-Auth Repo Management: Turborepo I encourage you to check and share…

15s
0Read More

Who's hiring Typescript developers November

The monthly thread for people to post openings at their companies. * Please state the job location and include the keywords REMOTE, INTERNS and/or VISA when the corresponding sort of candidate is welcome. When remote work is not an option, include ONSITE.…

15s
0Read More

Rune 1.3 is out: adds TypeScript support, a Helix editor, Kitty graphics and OSC-7501

Author here! I'm very excited to announce that we just released v1.3. Rune is an IDE and terminal multiplexer that we just open sourced a few months ago. In this release, we also fixed many usability issues, particularly on Linux.…

15s