![]() This is not a typical tutorial from me, but hopefully you like it.Īfter reading this, you may notice that the vast majority of the code in the "code sections" on my blog is written in RunJS. Setting the theme (my favourite by far is Dracula, the one you can see on the screenshots).Listing and removing installed npm packages En este video Manu, desarrollador Frontend en Monoku nos habla sobre RunJS, cuéntanos tu opinión en los comentarios ¿Lo has usado ❾n qué casos lo recomenda.Version 1.14.0: Added Apple M1 support Added builds for Linux ARMv7 and ARM64 Added support for. If you want to use TypeScript transpiler for your runfile. With support for TypeScript and Babel transcription. It also comes with a lot of available configurations like: For node < 8.2, npx is not available, so doing npm install -g runjs-cli is neccessary which. Great, we were able to install the library and now we can see the fetch results on the right. Let's say we need to quickly retrieve the data from an API and see if our code is good enough for it:Īs you can see, we have not installed the apisauce yet, so let's do that by clicking on an Install link and see what happens: One of the most important features for me is the ability to install external dependencies with one click. Exploring JavaScript has never been easier. With RunJS you have access to Node and Browser APIs, including full DOM access. For example, lets say i have the babel optional chaining enabled: // rollup. Babel and TypeScript support enables you to write modern, up-to-date syntax. i would like to use babel/typescript syntax inside of Svelte markup template code. The design of the tool is perfect, nothing distracts you from focusing on the code: RunJS is an JavaScript playground that auto-evaluates your code. It runs code as it's written and displays formatted results in the output panel on the right. RunJS is a JavaScript and TypeScript playground / scratchpad for your desktop. Well, after RunJS has been installed in my computer, things got much better. When I tried, it didn't work: The Run command fails to execute my TypeScript. I am not sure if all JavaScript code editors allow that (if at all). The home page suggests that typescript will be transpiled and run transparently. I often find myself in situations, where I need to experiment with some code I found on StackOverflow or somewhere else.īefore using the tool I am talking about, I was looking for a website that allows to run JavaScript code ( online JavaScript editor), or worse, I was running the code in the browser's console.īut what if I had to install and use some external dependencies? ![]() Since today is the day before Christmas, I thought I'd share with you a great tool I have been actively using for the past year to quickly run my JavaScript code. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |