# node.npmsearch-cli **Repository Path**: zinface/node.npmsearch-cli ## Basic Information - **Project Name**: node.npmsearch-cli - **Description**: 一个基于 http 的 npmjs.com 依赖搜索工具 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-05-26 - **Last Updated**: 2022-05-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # node.npmsearch-cli > 一个基于 http 的 npmjs.com 依赖搜索工具 ## 构建/运行/安装/使用 - 构建\ `npm i`\ *全称为 `npm install`,作用: 安装所需依赖* - 运行(搜索 fetch 关键词)\ `npm run dev fetch`\ 或者\ `node . fetch` - 安装(将会安装到 node 全局命令中) \ `npm link`\ *`npm link` 是创建一个链接到全局命令中*\ *像golang一样安装到 `$GOPATH/bin` - 像 rust 一样安装到 `$HOME/.cargo/bin`* - 另一种安装方式(安装到 `node_modules` 目录)\ `npm i -D file:.`\ *像 `npm install` 一样将本地文件安装到 `node_modules` 目录* - 使用: ```bash $ node . fetch # 或者已安装命令 npmsearch-cli fetch GET - https://www.npmjs.com/search?q=fetch >>> fetch@1.1.0 >>> node-fetch@3.2.4 >>> isomorphic-fetch@3.0.0 >>> got@12.1.0 >>> whatwg-fetch@3.6.2 >>> make-fetch-happen@10.1.5 >>> cross-fetch@3.1.5 >>> undici@5.3.0 >>> fetch-mock@9.11.0 >>> fetch-retry@5.0.2 >>> ember-fetch@8.1.1 >>> data-urls@3.0.2 >>> @aws-sdk/fetch-http-handler@3.78.0 >>> @protobufjs/fetch@1.1.0 >>> digest-fetch@1.2.1 >>> @microsoft/fetch-event-source@2.0.1 >>> npm-registry-fetch@13.1.1 >>> fetch-headers@3.0.1 >>> minipass-fetch@2.1.0 >>> workbox-webpack-plugin@6.5.3 ```