라이브러리란?
프로그램을 개발할 때 필요한 다양한 기능들을 미리 만들어 모듈화 해 놓은 것
라이브러리 모음 사이트
npm | Home
Bring the best of open source to you, your team, and your company Relied upon by more than 17 million developers worldwide, npm is committed to making JavaScript development elegant, productive, and safe. The free npm Registry has become the center of Java
www.npmjs.com
randomcolor 써보기
package-lock.json
패키지들이 사용하는 라이브러리들의 정보를 더 상세하게 적어놓은 파일
package.json은 패키지에 대한 대략적인 정보만 나옴
라이브러리 사
package.json만 있으면 node_modules가 없더라도 npm i 를 통해 재설치 할 수 있음
'Server > Node.js' 카테고리의 다른 글
모듈 시스템 (0) | 2024.06.27 |
---|---|
Node.js 시작하기 (0) | 2024.06.27 |
Node.js (0) | 2024.06.24 |