250x250
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- middleware
- hardhat
- HTML
- node.js
- evm
- JavaScript
- built in object
- solidity
- useState
- CLASS
- Ethereum
- Props
- concept
- bitcoin
- CSS
- Redux
- 삶
- web
- tailwindcss
- Interface
- typeScript
- express.js
- nextJS
- error
- API
- REACT
- graphQL
- SSR
- blockchain
- 기준
Archives
- Today
- Total
목록__dirname (1)
ReasonJun
Node.js : __dirname / __filename / process.cwd()
In Node.js, the following three variables are used to get the current working directory and the filename of the current module: __dirname __filename process.cwd() __dirname is a special variable that is defined within each module. It returns the directory name of the current module, which is the directory that contains the current JavaScript file. For example, if the current file is /home/user/m..
Backend/Node.js
2023. 6. 17. 14:41