JiaFeiX
V2EX  ›  Node.js

已经 npm install 的项目,如何生成依赖信息的树状列表

  •  
  •   JiaFeiX · Jan 16, 2017 · 3029 views
    This topic created in 3450 days ago, the information mentioned may be changed or developed.

    就是生成类似这样的树状信息:

    ├─┬ [email protected] │ ├─┬ [email protected] │ │ ├── [email protected] │ │ ├── [email protected]

    2 replies    2017-01-16 14:22:04 +08:00
    sffytian
        1
    sffytian  
       Jan 16, 2017
    npm ls
    haozhang
        2
    haozhang  
       Jan 16, 2017 via iPhone
    npm ls > dep_tree or any file name you want.
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5337 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 48ms · UTC 01:14 · PVG 09:14 · LAX 18:14 · JFK 21:14
    ♥ Do have faith in what you're doing.