nowfound

Dev tools · October 27, 2025

WG

Write Go code in JavaScript files

This Vite plugin allows developers to write Go code directly within JavaScript files using a "use golang" directive, automatically compiling it to WebAssembly.

Write Go code in JavaScript files launched on October 27, 2025 with 158 votes, #184 of 8,210 launches that month and more than 95% of that year's launches. The site was not reachable when checked in December 2026.

Visit npmjs.com ↗Alternativestop 2% of October 2025

In plain words

This Vite plugin allows developers to write Go code directly within JavaScript files using a "use golang" directive, automatically compiling it to WebAssembly. It integrates into the Vite build process to streamline the workflow of mixing Go and JavaScript in web projects. The tool is designed for developers who want to leverage Go's performance capabilities while working within a JavaScript-based development environment.

written by AI from its launch page and website · 5 September 2026

Originality

51/100

Familiar idea. More original than 51% of products launched in 2025.

Similar products before it
25
in the archive on its launch day
See similar products ↓
Similar products since
None
launched after it

crowded fieldone of a kind

The score compares the words of this launch with every earlier launch in the archive: the fewer close matches on launch day, the higher the score. It says how new the idea was, not how good the product is. Similar products counted on November 30, 2026. See the similar products →This week’s most original launches →

Forecast

96%

chance that this product’s website is still online in November 2031. Typical launch of 2025 gets 85%.

1 year
99%
typical 95%
3 years
97%
typical 87%
5 years
96%
typical 85%
  • Write Go code in JavaScript files
  • Typical launch of 2025

Launch signals stronger than 99% of the archiveweakest → strongest

Made on November 29, 2026, when the site was online, from what was public on launch day. It is not revised, and it is graded when the site is checked again. How the forecast works and how often it is right →

From the sources

In the maker’s words, at launch

I built a Vite plugin that lets you write Go code directly in .js files using a "use golang" directive. It compiles to WebAssembly automatically.

  • Code To Go2017 · codetogo.io · ▲437

    Find updated snippets for common JavaScript use cases

  • Wrote a tiny WebAssembly (wat2wasm) compiler in2022 · github.com · ▲75

    This is a minimal WebAssembly compiler written in Go that converts WebAssembly text format (WAT) to binary format (WASM).

  • Vite2023 · vite.dev · ▲671

    Next generation frontend tooling

  • GT
    Go Template Preview2022 · gotemplate.io · ▲102

    Quickly test and visualize your Go templates live. Template and data never leave your browser unless you share.

  • Wasmer2019 · github.com · ▲44

    🐹🕸️ WebAssembly runtime for Go.

  • Execute JavaScript in a WebAssembly QuickJS2024 · github.com · ▲206

    This TypeScript package allows you to safely execute JavaScript code within a WebAssembly sandbox using the QuickJS engine. Perfect for isolating and running untrusted code securely, it leverages the lightweight and fast QuickJS engine compiled to WebAssembly, providing a robust environment for code execution. Features - *Security*: Run untrusted JavaScript code in a safe, isolated environment. - *File System*: Can mount a virtual file system - *Custom Node Modules*: Custom node modules are mountable - *Fetch Client*: Can provide a fetch client to make http(s) calls - *Test-Runner*: Includes…

More dev tools this month

the category →

Is Write Go code in JavaScript files yours? Feature it on the home page: $19, or free with the badge →

Source: Show HN post ↗ · launch text quoted in part

Launched alongside, October 2025

the whole month →