Movatterモバイル変換


[0]ホーム

URL:


Skip to content
DEV Community
Log in Create account

DEV Community

Ryan Tracey
Ryan Tracey

Posted on • Edited on

     

Why RunKit is the Best REPL for Node.js

JavaScript IDE

I have something to admit... I'm a RunKit addict. It is simply fantastic!
There are many use cases, I'd like to share. But first, what is RunKit?

What is RunKit?

It is a node.jsREPL. Of course node.js comes with it's own REPL:

node> 1 + 2> // 3

So why bother with RunKit? NPM. RunKit comes with every NPM module pre-installed. That is crazy powerful! Let's proceed to some use cases.

Use Cases

1) You want to audition an NPM module

If you want to try a module without installing it first, RunKit is your friend! Let's see a quick example. Say for instance you want to trydate-fns.

RunKit sample with date-fns module

How is that for a quick feedback loop? Keep in mind you are not limited to a single module. You can require as many as you'd like.

2) Embedded Code Samples

So what, we already havegist right? Well, RunKit embeds are executable and modifiable. That's right, you can try the code inside an article or documentation page!

Embed RunKit

3) Saved Snippets

RunKit also saves your notebooks to your account. I find this extremely useful. I find myself going back to my saved notebooks weekly.

That's about it for now. Please share anything I missed in the comments :)

Top comments(0)

Subscribe
pic
Create template

Templates let you quickly answer FAQs or store snippets for re-use.

Dismiss

Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment'spermalink.

For further actions, you may consider blocking this person and/orreporting abuse

Ryan is a full stack JavaScript Software Engineer with a focus on application scaling in the Cloud. He embraces RESTful design and functional programming paradigms.
  • Joined

Trending onDEV CommunityHot

DEV Community

We're a place where coders share, stay up-to-date and grow their careers.

Log in Create account

[8]ページ先頭

©2009-2025 Movatter.jp