在哪里可以找到 npm 包的文档?
Where do I find documentation for npm packages?
在哪里可以找到 npm 包的文档?
我试图找到 npm 包 textract. I can see the README file 的文档,但我找不到任何其他文档,类似于在 RDoc 中为 Ruby 库编写的文档。特别是,我正在寻找如何在程序中 运行 时将保留换行符设置为 true,而不是命令行。我最终不得不看看 cli.js 是如何做到的。
我尝试了 运行 npm docs textract
,但这只是让我转到了 GitHub 存储库。
rubygems.org 对给定 gem 的文档有一个 link,但我在 textract 的 npmjs.com 页面上找不到等效项。
(谷歌搜索注意:this page 是关于同名的 Python 库)
I can't find any other documentation, analogous to what's written in RDoc for Ruby libraries.
README 文件 是 文档,类似于在 RDoc 中为 Ruby 库编写的内容。
I tried running npm docs textract, but that just sent me to the GitHub repo.
所以它确实像预期的那样将您发送到文档。
rubygems.org has a link to the documentation for a given gem, but I couldn't find the equivalent on the npmjs.com page for textract.
并且 npm 有一个 link 给定模块的文档。
textract 的文档在这里 - 那里有 12 个文档屏幕:
你对文档的内容是否满意是另外一回事。如果你不是,你应该 post 一个带有更好文档的拉取请求。
在哪里可以找到 npm 包的文档?
我试图找到 npm 包 textract. I can see the README file 的文档,但我找不到任何其他文档,类似于在 RDoc 中为 Ruby 库编写的文档。特别是,我正在寻找如何在程序中 运行 时将保留换行符设置为 true,而不是命令行。我最终不得不看看 cli.js 是如何做到的。
我尝试了 运行 npm docs textract
,但这只是让我转到了 GitHub 存储库。
rubygems.org 对给定 gem 的文档有一个 link,但我在 textract 的 npmjs.com 页面上找不到等效项。
(谷歌搜索注意:this page 是关于同名的 Python 库)
I can't find any other documentation, analogous to what's written in RDoc for Ruby libraries.
README 文件 是 文档,类似于在 RDoc 中为 Ruby 库编写的内容。
I tried running npm docs textract, but that just sent me to the GitHub repo.
所以它确实像预期的那样将您发送到文档。
rubygems.org has a link to the documentation for a given gem, but I couldn't find the equivalent on the npmjs.com page for textract.
并且 npm 有一个 link 给定模块的文档。
textract 的文档在这里 - 那里有 12 个文档屏幕:
你对文档的内容是否满意是另外一回事。如果你不是,你应该 post 一个带有更好文档的拉取请求。