frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Automatically add missing "async/await" keywords to your TypeScript code

https://github.com/stanNthe5/typescript-autoawait
7•theThree•9mo ago

Comments

bastawhiz•9mo ago
Is this a problem that people actually have?
xeromal•9mo ago
Fun side project man!
primitivesuave•9mo ago
I took a peek at the implementation - I think this only works for a case where the typing explicitly contains the string "Promise". For example, I don't think it would work if I use `SomeInterface["some_promise_key"]` or might incorrectly add an async if I use `Awaited<Promise<...>>`.

I think what you're trying to build might be best served by Typescript's VFS - https://www.npmjs.com/package/@typescript/vfs. You can load the local files into an in-memory type system, and quickly extract async/await hints that might be more useful for a typical TS developer. I think there's a lot of really interesting static analysis you could do to improve async/await safety, as it certainly leads to issues from time to time.

joshstrange•9mo ago
I do not want to be mean but I think you'd be much better served with ESLint rules to yell at you when you don't await when you should or do when you shouldn't.

This should _not_ be an automatic operation since it can change behavior in ways that will be unclear to the developer (completely undoing any gain from them being added automatically).

theThree•9mo ago
You can still control it by adding "//no-await". In fact, the "//no-await" makes me feel more clear.
nextweek2•9mo ago
I created a ticket, using comments is not necessary because there is already the `void` syntax for when you don't want to wait:

https://github.com/stanNthe5/typescript-autoawait/issues/1

nextweek2•9mo ago
It should be noted that there is already a lint rule for this: https://typescript-eslint.io/rules/no-floating-promises/

Clawsec: Open-source plugin for OpenClaw.ai that blocks dangerous actions

https://www.clawsec.bot
1•subho007•1m ago•1 comments

The crucial first step for designing a successful enterprise AI system

https://www.technologyreview.com/2026/02/02/1131822/the-crucial-first-step-for-designing-a-succes...
1•gnabgib•1m ago•0 comments

Stop Drowning in Your Thoughts

https://curiositysink.substack.com/p/stop-drowning-in-your-thoughts
1•raptisj•1m ago•1 comments

Show HN: Solscan-CLI – Scan Solana wallets and audit DeFi from terminal

https://github.com/contactn8n410-del/solscan-cli
1•solscan_dev•2m ago•0 comments

Mozilla Readability

https://github.com/mozilla/readability
1•blenderob•2m ago•0 comments

ParipueiraBeberibeceara

http://ParipueiraBeberibeceara.com
1•Hackersing•2m ago•0 comments

Musk fires up SpaceX,Bezos pushes Blue Origin as billionaires race China to moon

https://www.reuters.com/business/aerospace-defense/musk-fires-up-spacex-bezos-pushes-blue-origin-...
1•tartoran•2m ago•0 comments

SnapLLM: Switch between local LLM in under 1ms Multi-model&-modal serving engine

https://github.com/snapllm/snapllm
1•maheshvaikri99•3m ago•1 comments

Challenges of revision control in the LLM era

https://gist.github.com/gritzko/77b2e9ff9c2c377a18ccf8ce363e18eb
1•gritzko•3m ago•0 comments

Condom Crisis Hits Milano Games on Valentine's Day

https://www.reuters.com/sports/condom-crisis-hits-milano-games-valentines-day-2026-02-14/
2•tartoran•4m ago•1 comments

Textpattern CMS 4.9.1 released: security fixes, patches and tweaks

https://textpattern.com/weblog/textpattern-491-released-security-fixes-patches-and-tweaks
1•petecooper•9m ago•0 comments

Show HN: Aurora-OS.js – High fidelity hacking simulator pre-alpha

https://github.com/mental-os/Aurora-OS.js
1•mentalos•13m ago•0 comments

Visions of America

https://www.lrb.co.uk/the-paper/v48/n02/adam-shatz/another-country
1•mitchbob•13m ago•1 comments

Show HN: Managing dotfiles without complex tools – just symlinks and Makefiles

https://github.com/Thysrael/dotfiles
1•gg_equal_G•15m ago•0 comments

AI Twitter's favourite lie: everyone wants to be a developer

https://www.joanwestenberg.com/ai-twitters-favourite-lie-everyone-wants-to-be-a-developer/
2•theowenyoung•18m ago•0 comments

Elvish as She Is Spoke [pdf]

https://www.elvish.org/articles/EASIS.pdf
1•BerislavLopac•18m ago•0 comments

Dutch House of Representatives advances controversial 36% tax law

https://www.tradingview.com/news/cointelegraph:e4ef95715094b:0-dutch-house-of-representatives-adv...
2•janandonly•19m ago•0 comments

Instruction decoding in the Intel 8087 floating-point chip

https://www.righto.com/2026/02/8087-instruction-decoding.html
2•pwg•23m ago•1 comments

Show HN: Describe your Discord server in one sentence – AI builds it in 60s

https://buildmydiscord.com/
1•RobTheFrog•23m ago•0 comments

Gamma Function: Visualization for Complex Arguments

https://vanilla-gamma-graph.netlify.app/
1•cpuXguy•24m ago•1 comments

Secure Port Forwarding Without Exposing Internal Services

2•brintha•25m ago•0 comments

World's Only Pencil Sharpener Museum

https://www.bostonglobe.com/2026/02/13/lifestyle/pencil-sharpener-museum-ohio/
4•bookofjoe•25m ago•1 comments

OpenAI sidesteps Nvidia with unusually fast coding model on plate-sized chips

https://arstechnica.com/ai/2026/02/openai-sidesteps-nvidia-with-unusually-fast-coding-model-on-pl...
2•sea-gold•26m ago•0 comments

I love validating E2E while vibing in my code editor, possible? Hell Yes

https://sebringj.github.io/autonomo/
3•sebringj•26m ago•1 comments

What Is OTLP and How It Works Behind the Scenes

https://signoz.io/blog/what-is-otlp/
2•dhruv_ahuja•27m ago•0 comments

GitGen: A static Git repository website generator

https://cybrkyd.com/post/gitgen-a-static-git-repository-website-generator/
3•londonanon•28m ago•0 comments

OpenClaw Partners with VirusTotal for Skill Security

https://openclaw.ai/blog/virustotal-partnership
2•robotbot•29m ago•1 comments

Dinosaur National Monument Construction Work Turns Up New Fossils

https://www.smithsonianmag.com/smart-news/dinosaur-national-monument-construction-work-turns-up-n...
4•bryanrasmussen•29m ago•1 comments

First Proof

https://1stproof.org/
1•cod1r•30m ago•1 comments

Public Universal Friend

https://en.wikipedia.org/wiki/Public_Universal_Friend
2•helloplanets•30m ago•0 comments