久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

<tfoot id='drRrT'></tfoot>

  • <i id='drRrT'><tr id='drRrT'><dt id='drRrT'><q id='drRrT'><span id='drRrT'><b id='drRrT'><form id='drRrT'><ins id='drRrT'></ins><ul id='drRrT'></ul><sub id='drRrT'></sub></form><legend id='drRrT'></legend><bdo id='drRrT'><pre id='drRrT'><center id='drRrT'></center></pre></bdo></b><th id='drRrT'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='drRrT'><tfoot id='drRrT'></tfoot><dl id='drRrT'><fieldset id='drRrT'></fieldset></dl></div>
    <legend id='drRrT'><style id='drRrT'><dir id='drRrT'><q id='drRrT'></q></dir></style></legend>
        • <bdo id='drRrT'></bdo><ul id='drRrT'></ul>

        <small id='drRrT'></small><noframes id='drRrT'>

        打印所有已安裝的 node.js 模塊的列表

        Print a list of all installed node.js modules(打印所有已安裝的 node.js 模塊的列表)

        <legend id='1nChY'><style id='1nChY'><dir id='1nChY'><q id='1nChY'></q></dir></style></legend>

        <i id='1nChY'><tr id='1nChY'><dt id='1nChY'><q id='1nChY'><span id='1nChY'><b id='1nChY'><form id='1nChY'><ins id='1nChY'></ins><ul id='1nChY'></ul><sub id='1nChY'></sub></form><legend id='1nChY'></legend><bdo id='1nChY'><pre id='1nChY'><center id='1nChY'></center></pre></bdo></b><th id='1nChY'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='1nChY'><tfoot id='1nChY'></tfoot><dl id='1nChY'><fieldset id='1nChY'></fieldset></dl></div>
        • <bdo id='1nChY'></bdo><ul id='1nChY'></ul>

            <tfoot id='1nChY'></tfoot>
              <tbody id='1nChY'></tbody>

                  <small id='1nChY'></small><noframes id='1nChY'>

                  本文介紹了打印所有已安裝的 node.js 模塊的列表的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  在我正在處理的 node.js 腳本中,我想將所有 node.js 模塊(使用 npm 安裝)打印到命令行.我該怎么做?

                  In a node.js script that I'm working on, I want to print all node.js modules (installed using npm) to the command line. How can I do this?

                  console.log(__filename);
                  
                  //now I want to print all installed modules to the command line. How can I do this?
                  

                  推薦答案

                  使用 npm ls (甚至還有json輸出)

                  Use npm ls (there is even json output)

                  來自腳本:

                  test.js:

                  function npmls(cb) {
                    require('child_process').exec('npm ls --json', function(err, stdout, stderr) {
                      if (err) return cb(err)
                      cb(null, JSON.parse(stdout));
                    });
                  }
                  npmls(console.log);
                  

                  運行:

                  > node test.js
                  null { name: 'x11', version: '0.0.11' }
                  

                  這篇關于打印所有已安裝的 node.js 模塊的列表的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  Use IScroll in Angular 2 / Typescript(在 Angular 2/Typescript 中使用 IScroll)
                  anime.js not working in Ionic 3 project(Anime.js 在 Ionic 3 項目中不起作用)
                  Ionic 3 - Update Observable with Asynchronous Data(Ionic 3 - 使用異步數據更新 Observable)
                  Angular 2: file not found on local .json file(Angular 2:在本地 .json 文件中找不到文件)
                  In Ionic 2, how do I create a custom directive that uses Ionic components?(在 Ionic 2 中,如何創建使用 Ionic 組件的自定義指令?)
                  Use ViewChild for dynamic elements - Angular 2 amp; ionic 2(將 ViewChild 用于動態元素 - Angular 2 amp;離子2)
                  1. <i id='ZT4Vr'><tr id='ZT4Vr'><dt id='ZT4Vr'><q id='ZT4Vr'><span id='ZT4Vr'><b id='ZT4Vr'><form id='ZT4Vr'><ins id='ZT4Vr'></ins><ul id='ZT4Vr'></ul><sub id='ZT4Vr'></sub></form><legend id='ZT4Vr'></legend><bdo id='ZT4Vr'><pre id='ZT4Vr'><center id='ZT4Vr'></center></pre></bdo></b><th id='ZT4Vr'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='ZT4Vr'><tfoot id='ZT4Vr'></tfoot><dl id='ZT4Vr'><fieldset id='ZT4Vr'></fieldset></dl></div>

                    1. <small id='ZT4Vr'></small><noframes id='ZT4Vr'>

                      <legend id='ZT4Vr'><style id='ZT4Vr'><dir id='ZT4Vr'><q id='ZT4Vr'></q></dir></style></legend>
                      • <tfoot id='ZT4Vr'></tfoot>

                          <bdo id='ZT4Vr'></bdo><ul id='ZT4Vr'></ul>
                            <tbody id='ZT4Vr'></tbody>
                            主站蜘蛛池模板: 正在播放国产精品 | 精品在线看 | 一区二区三区免费在线观看 | 中文字幕一区在线 | 国产精品乱码一二三区的特点 | 日韩色在线| 国产成人免费视频网站视频社区 | 久久大陆 | 国产剧情一区 | 国产成人精品一区二区三区 | 91人人看 | 成人福利网站 | 97精品超碰一区二区三区 | 中文在线播放 | 欧美视频1 | 亚洲精品一区二区三区在线 | 久久综合一区二区 | 成人在线免费视频 | 午夜精品久久久久久久星辰影院 | 国产1区2区3区 | 涩涩视频大全 | 91久久久久久久久久久 | 亚洲视频在线观看 | 亚洲精品乱码久久久久久按摩观 | 天天综合久久网 | 精品视频一区二区三区在线观看 | 天堂精品 | 欧美成人精品激情在线观看 | 亚洲成人一区二区 | 丁香六月伊人 | 精品日韩 | 国产香蕉视频 | 亚洲高清在线观看 | 亚洲精选久久 | 玖玖视频 | 一级毛片观看 | 亚洲高清视频一区二区 | 午夜国产一区 | 久久久.com | 久久99精品久久久 | 黄色在线观看国产 |