Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

204
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!