---
title: "Discussion on \"ES6 imports in NodeJS\" | Hashnode"
description: "Discussion on \"ES6 imports in NodeJS\". How to import files using ES6 Imports and not CommonJS"
url: "https://hashnode.com/posts/es6-imports-in-nodejs/602b7e54cc91ac05270ef6f3"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [ES6 imports in NodeJS](https://blog.srthk.com/es6-imports-in-nodejs?utm_source=hashnode&utm_medium=feed)

How to import files using ES6 Imports and not CommonJS

Feb 16, 2021 · 3 min read · blog.srthk.com  
Updated Mar 24, 2021  
Read the article

-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#es6](https://hashnode.com/tag/es6)
-   [#es2015](https://hashnode.com/tag/es2015)

## Written by

[Sarthak Batra](https://hashnode.com/@SarthakBatra)

@SarthakBatra · New Delhi, India

  
[View profile](https://hashnode.com/@SarthakBatra)

Writer of code and stories!

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
