JiaFeiX
V2EX  ›  Node.js

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

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