위 코드로 mongoose를 불러오려고 하자 아래와 같이 경고가 떴다.DEP0040 DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.(Use n
JavaScript에는 2가지 모듈 방식이 존재한다.CommonJS방식과 ES방식이다.CommonJS는 조금 더 전통적(?)이랄까 기존에 존재하던 방식이고 ES는 최신의 방식이다.CommonJS방식은 node.js에서 돌아가고 ES 모듈 방식은 최신답게(?) node.