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
- on_delete
- typescript
- westagram
- 스코프
- 호이스팅
- bcrypt
- wecode
- manytomanyfield
- status code
- Django
- OSI7계층
- JWT
- django westagram
- docker
- 트랜잭션
- 장고초기세팅
- 자바스크립트
- rebase
- nodeJS
- CORS
- crud2
- 노드
- pm2
- TypeError: this.boardRepository.createBoard is not a function
- node
- async/await
- 실행 컨텍스트
- javascript
- Jest
- 프로미스
Archives
- Today
- Total
될때까지
os와 path 본문
728x90
os
- 운영체제의 정보를 담고 있다.
- 모듈은 require로 가져온다(내장 모듈이기 때문에 경로말고 이름만 적어주면 됨)
const os = require('os');
path
- 폴더와 파일의 경로를 쉽게 조작하도록 도와주는 모듈이다.
- 운영체제별로 경로 구분자가 다르다(윈도우 : '\', POSIX: '/')
728x90
'학습 > Node.js' 카테고리의 다른 글
fs (0) | 2022.08.22 |
---|---|
crypto와 util (0) | 2022.08.21 |
process (0) | 2022.08.21 |
노드 내장 객체 알아보기(global, console, timer, __filename, __dirname, this, require) (0) | 2022.08.21 |
모듈 만들기 (0) | 2022.08.21 |