久久久久久久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模板網(wǎng)!

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

                  相關文檔推薦

                  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 - 使用異步數(shù)據(jù)更新 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 中,如何創(chuàng)建使用 Ionic 組件的自定義指令?)
                  Use ViewChild for dynamic elements - Angular 2 amp; ionic 2(將 ViewChild 用于動態(tài)元素 - 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午夜理伦私人影院 | 综合网av| 超碰97在线播放 | 亚洲资源在线 | 91三级视频 | 红桃av在线| 香蕉视频色 | 操操操操操操 | 久热伊人 | 日韩欧美色 | 色婷婷久久综合 | 日韩精品免费一区二区夜夜嗨 | 免费看黄色大片 | 黄色片一级片 | 夜色在线影院 | 一本一道久久a久久精品蜜桃 | 日日狠狠| 四虎在线免费观看 | 久久国产综合 | 亚洲一区在线看 | 国产精品久久久久久久成人午夜 | 少妇一级淫片 | 久久久久免费视频 | 久久888| 少妇福利视频 | 国产强伦人妻毛片 | 91免费黄| 欧美性生交 | 五月激情综合 | 亚洲精品在线视频观看 | 大色av | 免费久久久 | av片免费| 在线观看欧美日韩视频 | 欧美日韩激情视频 | 国产午夜视频在线观看 |