date
May 30, 2025
slug
day-npm
status
Published
tags
AI
summary
Cách đẩy 1 npm lên thư viện npm
type
Post

✅ Bước 1: Đăng ký tài khoản npm (nếu chưa có)

Tạo tài khoản và xác minh email.
 

✅ Bước 2: Đăng nhập vào npm trong terminal

Nhập:
  • Username
  • Password
  • Email

✅ Bước 3: Publish package lên npm

 

✅ Bước 4: Cập nhật package

Khi bạn có thay đổi, hãy tăng version trong package.json theo SemVer:

“Success is not final, failure is not fatal: it is the courage to continue that counts.“

Winston Churchill


© Hiếu Trần 2020 - 2025

Tip: Use console.table() for better array logging!
Anime Character