发布于 2022-09-03 / 2497 阅读 / 0 评论 / 0 点赞

Some npm note


we know the origin npm resource are base in github, But we china area can not stable connect with github. But the china some big business will mirror the resource to china site. so we can use it.

how to use it

the npm has a composement collect then: nrm

>>npm install npm
>>nrm ls

  npm ----------
  yarn ---------
  tencent ------
  cnpm ---------
  taobao -------
  npmMirror ----
>>nrm use taobao  # You can chooise one what you want to change to from list.

good luck,