---
title: "Comment by SHRIVATSA D DESAI on \"basic node js\" | Hashnode"
description: "Got to know that there is import statement, I have been using just const express = require('express');"
url: "https://hashnode.com/posts/basic-node-js/65b8fffee267a75fc776b6fe/comment/65ba7d82cdceaf6ba05432b2"
---

[Discussion](https://hashnode.com/posts/basic-node-js/65b8fffee267a75fc776b6fe)

Comment [basic node js](https://hashnode.com/posts/basic-node-js/65b8fffee267a75fc776b6fe)

[SHRIVATSA D DESAI](https://hashnode.com/@ShrivatsaDesai54)

[Jan 31, 2024](https://hashnode.com/posts/basic-node-js/65b8fffee267a75fc776b6fe/comment/65ba7d82cdceaf6ba05432b2)

Got to know that there is import statement, I have been using just `const express = require('express');`

[Gaurav Ghuge](https://hashnode.com/@gauravghuge)

[Jan 31, 2024](https://hashnode.com/posts/basic-node-js/65b8fffee267a75fc776b6fe/comment/65ba7d82cdceaf6ba05432b2#reply-65ba7f6c42251f142ff15fca)

we can use both statements but the import statements are easy to use and simple statements
