Node.js tips and tricks: Difference between revisions

From HPCWIKI
Jump to navigation Jump to search
(Added Knowledge Graph section)
(Fix: remove --- horizontal lines (7 removed))
 
Line 18: Line 18:
* 언제 사용하는가? - 서버 구성, 성능 튜닝, 문제 해결 시
* 언제 사용하는가? - 서버 구성, 성능 튜닝, 문제 해결 시


---


== Purpose ==
== Purpose ==
Line 28: Line 27:
* Non-goals: 다른 주제로의 확장
* Non-goals: 다른 주제로의 확장


---


== Key Concepts ==
== Key Concepts ==
Line 42: Line 40:
|}
|}


---


== Detailed Explanation ==
== Detailed Explanation ==
Line 67: Line 64:
nvm list-remote
nvm list-remote


---


== Best Practices ==
== Best Practices ==
Line 75: Line 71:
* 테스트 환경에서 먼저 검증
* 테스트 환경에서 먼저 검증


---


== References ==
== References ==
Line 81: Line 76:
* [https://wiki.hpcmate.com Node.js tips and tricks]
* [https://wiki.hpcmate.com Node.js tips and tricks]


---


== Related Pages ==
== Related Pages ==
Line 90: Line 84:
* [[Network]]
* [[Network]]


---


[[Category:Server]]
[[Category:Server]]

Latest revision as of 11:30, 17 July 2026

Template:Status

Template:TOC

Overview

Node.js tips and tricks에 대한 기술 문서입니다.

Summary

  • 무엇인가? - Node.js tips and tricks
  • 왜 필요한가? - HPC 및 서버 환경에서 필수 개념
  • 언제 사용하는가? - 서버 구성, 성능 튜닝, 문제 해결 시


Purpose

이 문서가 존재하는 이유

  • Goal: Node.js tips and tricks에 대한 기술 정보 제공
  • Scope: Node.js tips and tricks의 개념, 사용법, 설정
  • Non-goals: 다른 주제로의 확장


Key Concepts

Concept Description Related
Node.js tips and tricks HPC/서버 환경에서 중요한 기술 개념 Linux, Server


Detailed Explanation

# Install npm-check-updates globally
$ npm i -g npm-check-updates
# Inside of nodejs project folder where package.json is located
$ ncu -u
Upgrading /opt/imp/home/prj/package.json
[====================] 39/39 100%
...
 async                           ^2.6.3  →    ^3.2.6
 cheerio                    ^1.0.0-rc.2  →    ^1.0.0
 cookie-parser                   ^1.4.4  →    ^1.4.7
....
# Run npm install to install new versions.
$ npm install

<syntaxhighlight lang="bash"> curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash source ~/.bashrc

  1. List up node version

nvm list-remote


Best Practices

  • 최신 버전 사용 권장
  • 공식 문서 참고
  • 테스트 환경에서 먼저 검증


References


Related Pages

Knowledge Graph

Related

LinuxServerHardwareNetwork