node.js 如何查找/查找 npm 包
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/10568512/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to find search/find npm packages
提问by Alfred
What ways are there to find npm packages?
有什么方法可以找到 npm 包?
Below is community maintained listing compiled from the answers below.
以下是根据以下答案汇编的社区维护列表。
NPM Specific
特定于 NPM
- In console,
npm search <keyword> - https://www.npmjs.org/
- http://eirikb.github.com/nipster/via https://stackoverflow.com/a/10571033
- http://node-modules.com/via https://stackoverflow.com/a/13593402
- https://nodejsmodules.org/via https://stackoverflow.com/a/17821476
- http://npmsearch.com/via https://stackoverflow.com/a/34471018
- 在控制台中,
npm search <keyword> - https://www.npmjs.org/
- http://eirikb.github.com/nipster/通过https://stackoverflow.com/a/10571033
- http://node-modules.com/通过https://stackoverflow.com/a/13593402
- https://nodejsmodules.org/通过https://stackoverflow.com/a/17821476
- http://npmsearch.com/通过https://stackoverflow.com/a/34471018
Generic
通用的
Dead
死的
回答by mihai
npm searchworks pretty well:
npm search效果很好:
npm search connect
npm search connect
npm viewwill show you the timestamp of each version and everthing else from package.json(including node version)
npm view将向您显示每个版本的时间戳以及其他所有内容package.json(包括节点版本)
npm view connect
npm view connect
回答by Andrew Nesbitt
Libraries.iois great for searching and filtering through NPM modules, you can also filter by license and keyword: https://libraries.io/search?platforms=NPM
Libraries.io非常适合通过 NPM 模块进行搜索和过滤,您还可以按许可证和关键字进行过滤:https: //libraries.io/search?platforms=NPM
回答by Gorgi Kosev
npmsearchsorts the results by a combination of relevance and downloads. The command line version can be installed from npm:
npmsearch根据相关性和下载量的组合对结果进行排序。命令行版本可以从 npm 安装:
[sudo] npm install -g npmsearch
disclamer: I am the author of npmsearch
免责声明:我是 npmsearch 的作者
node-modulesallows you to personalize your results according to the modules that you have starred/followed on github
node-modules允许您根据您在 github 上加星标/关注的模块来个性化您的结果
回答by Touv
https://nodejsmodules.org/is one that lets you search, as well as browse by popularity
https://nodejsmodules.org/是一个让你搜索,以及按流行度浏览的网站
回答by a20
For a fast method available in your console, type:
对于控制台中可用的快速方法,请键入:
npm search keyword
npm search keyword
< Keyword >searches Title, Description, Author and Keywordsof all packages.
< 关键字 >搜索所有包的标题、描述、作者和关键字。
回答by balupton
https://npms.iois really nice, provides quality and maintenance stats too
https://npms.io非常好,也提供质量和维护统计数据
回答by laggingreflex
Here's another one: https://npmaddict.com/
这是另一个:https: //npmaccident.com/
Not a search but daily list of New packages with at least 5 GitHub stars
不是搜索,而是具有至少 5 个 GitHub 星的新软件包的每日列表
回答by Kamil Tom?ík
I personally use npmsearch.com
我个人使用npmsearch.com
I'm not sure how it works internally but it usually gives the best results.
我不确定它在内部是如何工作的,但它通常会给出最好的结果。
回答by christemple
Just in case anyone comes across this question, I also created a tool to help people discover what npm packages other people are using:
以防万一有人遇到这个问题,我还创建了一个工具来帮助人们发现其他人正在使用的 npm 包:

