-
<TIL> npm-checks-update클래스/└ TIL 2022. 5. 4. 23:18728x90
🧭
npm-checks-update 패키지
웹스톰에서 express 보일러 플레이트 실행시 기본 설치되는 패키지들은 버전이 낮습니다.
npm-checks-update를 설치하고,
ncu -u 명령어를 실행하면 package.json 파일에서 패키지들을 최신버전으로 변경해 줍니다.
이후 npm i 명령어를 통해 각각의 패키지들을 업데이트합니다.
https://www.npmjs.com/package/npm-check-updates
npm-check-updates
Find newer versions of dependencies than what your package.json allows. Latest version: 12.5.11, last published: 3 days ago. Start using npm-check-updates in your project by running `npm i npm-check-updates`. There are 403 other projects in the npm registr
www.npmjs.com
package.json의 종속성을 최신버전으로 업데이트하는 방법
npm이나 yarn으로 패키지를 추가하게 되면 node_modules 폴더에 실제 패키지가 설치되면서 package.json 파일에 기록을 하게 됩니다. 일반적으로 npm install 패키지명 --save 이런 명령어를 대부분사용할 텐
ux.stories.pe.kr
express.static
https://expressjs.com/ko/starter/static-files.html
Express에서 정적 파일 제공
Express에서 정적 파일 제공 이미지, CSS 파일 및 JavaScript 파일과 같은 정적 파일을 제공하려면 Express의 기본 제공 미들웨어 함수인 express.static을 사용하십시오. 정적 자산이 포함된 디렉토리의 이
expressjs.com
https://nodejs.org/api/path.html
Path | Node.js v18.1.0 Documentation
Path# Source Code: lib/path.js The node:path module provides utilities for working with file and directory paths. It can be accessed using: const path = require('node:path'); Windows vs. POSIX# The default operation of the node:path module varies based on
nodejs.org
아마존 MFA 인증
모바일 앱(Microsoft Authenticator, Google OTP 등)을 통해 설정 가능합니다.
https://aws.amazon.com/ko/iam/features/mfa/?audit=2019q1
IAM - Multi-Factor Authentication
Multi-factor authentication (MFA) in AWS is a simple best practice that adds an extra layer of protection on top of your user name and password. With MFA enabled, when a user signs in to an AWS Management Console, they will be prompted for their user name
aws.amazon.com
728x90'클래스 > └ TIL' 카테고리의 다른 글
<TIL> 한글 키워드로 주소 검색하는 방법 (0) 2022.05.06 <TIL> 카카오 로컬 API, git pull (0) 2022.05.06 <TIL> IoC / DI, unknown database (0) 2022.04.28 <TIL> NestJS, AWS (0) 2022.04.27 <TIL> 220408 미들웨어, req.body, req.params (1) 2022.04.08