NPMsearch远程软件包

对于我的生活,我无法弄清楚如何在我的0.2.19版安装中search远程NPM软件包。 npm lsnpm search (一个明显的另一个别名)只显示本地安装的软件包。 关联的帮助对话框/手册页缺less明显的答案,除了对configuration选项的模糊引用:

组态

listopts默认值:“”

  A whitespace-separated list of extra args that are always passed to npm ls For example: listopts = remote npm ls The output here will always filter by remote 

我应该得出结论:npmsearch远程存储库的唯一方法是在configuration文件中添加一个设置,或者是否有可以使用的命令?

 raynos@raynos-MS-7681:~$ npm search ncore npm http GET https://registry.npmjs.org/-/all/since?stale=update_after&startkey=1330640201000 npm http 200 https://registry.npmjs.org/-/all/since?stale=update_after&startkey=1330640201000 NAME DESCRIPTION AUTHOR DATE KEYWORDS ncore Core library for your application =raynos 2012-02-28 11:49 core archit raynos@raynos-MS-7681:~$ npm --version 1.1.0