My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more
What do you use - import or require() in Node.js ES6 applications and Why?

What do you use - import or require() in Node.js ES6 applications and Why?

Luiz Estácio's photo
Luiz Estácio
·Apr 2, 2016

When you write your back-end applications in ES6 do you prefer use "import" standard ES6 or continue using "require()".