Sorry, your browser cannot access this site
This page requires browser support (enable) JavaScript
Learn more >

进程版本管理

node 版本管理工具 –n

安装:

npm install -g n

列出可选择的 版本:

$ n

安装某个 版本:

$ n <version>

npm 代理管理工具 – nrm

安装:

npm install -g nrm

列出可选择的源:

$ nrm ls

1
2
3
4
5
6
7
8
9
10


npm ---- https://registry.npmjs.org/
cnpm --- http://r.cnpmjs.org/
* taobao - https://registry.npm.taobao.org/
nj ----- https://registry.nodejitsu.com/
rednpm - http://registry.mirror.cqupt.edu.cn/
npmMirror https://skimdb.npmjs.com/registry/
edunpm - http://registry.enpmjs.org/

切换使用的

$ nrm use npm

1
Registry has been set to: https://registry.npmjs.org/

  • nodemon 监测文件变化,神器
  • yalc 代替 npm link,调试lib包,保证HRM

服务端工具包


  • node-ssh
    node端登录ssh登录工具

  • fs-extra
    promise包裹的fs,便于同步操作

  • download
    下载解析文件

  • needle
    The leanest and most handsome HTTP client in the Nodelands.
    node http传输工具

  • compressing
    The missing compressing and uncompressing lib for node.
    解压缩工具

  • multiparty
    multipart/form-data格式解析

  • http-proxy-middleware
    http代理转发

  • cross-env
    With POSIX, you use: $ENV_VAR and on windows you use %ENV_VAR%.
    跨平台变量设置

  • serve 静态文件服务器

    Cli

  • figlet
    控制台艺术字

    1
    2
    3
    4
    5
    6
    ___________.___  ________.__          __          __        
    \_ _____/| |/ _____/| | _____/ |_ |__| ______
    | __) | / \ ___| | _/ __ \ __\ | |/ ___/
    | \ | \ \_\ \ |_\ ___/| | | |\___ \
    \___ / |___|\______ /____/\___ >__| /\ /\__| /____ >
    \/ \/ \/ \/ \______| \/
  • chalk

    彩色字体打印

  • inquirer
    控制台命令接口

    1
    2
    3
    ? 请选择模板类型 (Use arrow keys)
    ❯ vue
    react
  • ora
    控制台loading

  • download-git-repo
    git仓库下载

评论