I'm on node v7.5.0. I run node and then:
node
> import moment from 'moment'; ... moment(); ...
I get stuck in multiline mode as you can see. How do I use import in Node REPL?
import
No comments:
Post a Comment