Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

209
Vistas
Run js or ts file with `bun js` in vscode's code runner extension

How can I run .js or .ts file with bun in VS Code (from Code Runner Extension). I have only bun JS as JavaScript Runtime in my Computer ( I don't have nodejs in my computer).

Even if I download nodejs then how can I run .js file with bun js in vscode code runner?

When I click run button in VS Code, it runs .js or .ts file with node. I don't want to run .js file with nodejs or type bun run myFile.js in terminal.

I want to run the file with bun js with code runner extension as I do with nodejs.

I am aware of bun extension in vscode by pandy. But I want this with code runner extension button.

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Adding

"code-runner.executorMap": {
    "javascript": "bun $fullFileName",
},

to your settings should make bun the default runner for javascript files.

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda