JiaFeiX
V2EX  ›  Node.js

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

  •  
  •   JiaFeiX · Jan 16, 2017 · 3068 views
    This topic created in 3474 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   ·   1498 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 16:51 · PVG 00:51 · LAX 09:51 · JFK 12:51
    ♥ Do have faith in what you're doing.