728x90 서버2 [JavaScript] express dir 설정 후 npm init npm i express https://www.npmjs.com/package/express express Fast, unopinionated, minimalist web framework. Latest version: 4.18.2, last published: 8 months ago. Start using express in your project by running `npm i express`. There are 72203 other projects in the npm registry using express. www.npmjs.com 설치 완료되면 node_modules 폴더 생김 nodemon - 스크립트를 수정했을 경우 서버를 재시작하지 않아도 반영 https:/.. 2023. 5. 24. [JavaScript]서버 만들기, html npm Init 배포할때 설명 yes json파일 만들어짐 https://nodejs.org/api/modules.html#exports-shortcut Modules: CommonJS modules | Node.js v20.2.0 Documentation Modules: CommonJS modules# CommonJS modules are the original way to package JavaScript code for Node.js. Node.js also supports the ECMAScript modules standard used by browsers and other JavaScript runtimes. In Node.js, each file is treated as a separate .. 2023. 5. 18. 이전 1 다음 728x90