News for hackers. Stuff that matters.
Re:Why Go? by nonethewiser on Tuesday March 11, 2025 @01:37PM (#43334991)
Maybe a stupid question but...

With typescript 7 written in Go, am I able to download typescript 7 as an npm module in my package and use that? No, right? I have to have it installed on my system and maybe have a version manager to use different versions across projects. Or maybe it can be compiled to WA and published to npm?

Re:Why Go? by mcintyre1994 on Tuesday March 11, 2025 @01:43PM (#43335068)
I don’t see why not. Esbuild is written in Go and installed with NPM: https://esbuild.github.io/getting-started/#install-esbuild
Re:Why Go? by inib on Tuesday March 11, 2025 @01:40PM (#43335038)
It will continue to work from npm. See esbuild as an example.
Re:Why Go? by ClikeX on Tuesday March 11, 2025 @01:43PM (#43335078)
You can upload binaries to npm, so I don't see why you shouldn't be able to download it as a npm module?