JiaFeiX
V2EX  ›  Node.js

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

  •  
  •   JiaFeiX · Jan 16, 2017 · 3001 views
    This topic created in 3436 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   ·   5263 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 42ms · UTC 03:52 · PVG 11:52 · LAX 20:52 · JFK 23:52
    ♥ Do have faith in what you're doing.