Skip to content

npm credentials#

คุณสามารถใช้ credentials เหล่านี้เพื่อยืนยันตัวตนใน nodes ต่อไปนี้:

Prerequisites#

สร้างบัญชี npm

Supported authentication methods#

  • API access token

อ้างอิง npm's external integrations documentation สำหรับข้อมูลเพิ่มเติมเกี่ยวกับบริการนี้

Using API access token#

ในการกำหนดค่า credential นี้ คุณจะต้องมี:

  • Access Token: สร้าง access token โดยเลือก Access Tokens จากเมนูโปรไฟล์ของคุณ อ้างอิงเอกสาร npm's Creating and viewing access tokens documentation สำหรับคำแนะนำโดยละเอียดเพิ่มเติม
  • Registry URL: หากคุณกำลังใช้ custom npm registry ให้อัปเดต Registry URL เป็น custom registry นั้น มิฉะนั้น ให้คงค่า public registry ไว้