Alex Bit (@alex__bit) 's Twitter Profile
Alex Bit

@alex__bit

love people & solving hard technical problems. forward-looking. systems thinker. building @Codemod to automate code migrations for all. ex @Meta.

ID: 51467355

linkhttp://codemod.com calendar_today27-06-2009 15:30:42

1,1K Tweet

959 Takipçi

2,2K Takip Edilen

Herrington Darkholme (@hd_nvim) 's Twitter Profile Photo

ast-grep 0.39 released! Notable change * New langs: nix & solidity * Esquery style kind rule, e.g. 'call_expression > identifier' will find function caller

ast-grep 0.39 released! Notable change
* New langs: nix & solidity 
* Esquery style kind rule, e.g.
'call_expression > identifier' will find function caller
Herrington Darkholme (@hd_nvim) 's Twitter Profile Photo

#ast_grep_trick ast-grep's rule is heavily inspired by CSS selectors. The rule `identifier` node is `inside` the node `call_expression` is something similar to `call_expression > identifier`

#ast_grep_trick ast-grep's rule is heavily inspired by CSS selectors.  The rule `identifier` node is `inside`  the node `call_expression` is something similar to  `call_expression > identifier`
Herrington Darkholme (@hd_nvim) 's Twitter Profile Photo

#ast_grep_trick If you are using a shell, you can write a rule with PLACEHOLDER and fill in values by process substitution. 𝐚𝐬𝐭-𝐠𝐫𝐞𝐩 𝐬𝐜𝐚𝐧 -𝐫 <(𝐬𝐞𝐝 '𝐬/𝐩𝐥𝐚𝐜𝐞𝐡𝐨𝐥𝐝𝐞𝐫/𝐯𝐚𝐫/𝐠' 𝐭𝐞𝐦𝐩𝐥𝐚𝐭𝐞.𝐲𝐦𝐥) It can make ast-grep rule dynamic and parameterized!

#ast_grep_trick If you are using a shell, you can write a rule with PLACEHOLDER and fill in values by process substitution.

𝐚𝐬𝐭-𝐠𝐫𝐞𝐩 𝐬𝐜𝐚𝐧 -𝐫 &lt;(𝐬𝐞𝐝 '𝐬/𝐩𝐥𝐚𝐜𝐞𝐡𝐨𝐥𝐝𝐞𝐫/𝐯𝐚𝐫/𝐠' 𝐭𝐞𝐦𝐩𝐥𝐚𝐭𝐞.𝐲𝐦𝐥)

It can make ast-grep rule dynamic and parameterized!
Alex Bit (@alex__bit) 's Twitter Profile Photo

Big update just landed on codemod.studio! Smarter AI. Multi-file, multi-step workflows. More powerful codemods (supports both JS ast-grep and YAML rules). Early adopters! DM me if you're down to try it out and share some honest feedback. 🙏🏼❤️🍻

Alex Bit (@alex__bit) 's Twitter Profile Photo

Matteo Collina Node.js I whipped up an ast-grep rule with Codemod AI to catch this setImmediate() anti-pattern in Node.js apps: app.codemod.com/studio?share_i… hopefully it serves as a good starting point for spotting this kind of issue. thanks for the PSA Matteo Collina!

Matteo Collina (@matteocollina) 's Twitter Profile Photo

Node.js Node.js v24 🆚 v22 performance gains: Baseline: +1.5% AsyncLocalStorage: +5.0% 🎯 Fastify + Full OTel: +7.1% Selective OTel: +2.6% Node v24's AsyncLocalStorage optimizations (thanks @DatadogHQ!) are real.

Jan Amann (@jamannnnnn) 's Twitter Profile Photo

🌐 learn.next-intl.dev is officially live! Learn how to build delightful, multilingual apps with Next.js—from the basics to advanced patterns, all through a real-world project. 🎥 10 chapters · 42 lessons · 5+ hours of 4K video 💻 All code, recaps & resources included

Alex Bit (@alex__bit) 's Twitter Profile Photo

Is your company heavily relying on Node.js? Consider sponsoring August1! He’s changing how you adopt the latest Node.js features. github.com/sponsors/Augus…

Alex Bit (@alex__bit) 's Twitter Profile Photo

run AI-generated codemods via CLI! new feature now live in codemod.studio! 🎉 enjoy, and don’t forget to share your feedback! 🎁