npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

dumi-theme-didoc

v1.0.4

Published

dumi-theme-didoc

Downloads

4

Readme

README的意义

README 文件通常是项目的第一个入口点。你应该通过 README 明确地告诉大家,为什么他们应该使用你的项目,以及安装和使用的方法。

如果在仅仅看文档而不看代码的情况下就可以使用你的项目,该文档就完成了。 这个非常重要,因为这将使项目的文档接口与其内部实现分开,只要接口保持不变,就可以自由更改项目的内部结构。

文档,而不是代码定义了项目的使用方式。

一个规范的README文档能减少用户检索信息的时间。

标准 README

一个标准的README文件应当至少包含以下的内容:

  • 项目背景:说明创建本项目的背景与动机,创建本项目试图解决的问题
  • 安装方法:说明如何快速上手使用该项目
  • 使用方法:列出本项目能够提供的功能以及使用这些功能的方法
  • 文档:现阶段antcode鼓励用户使用语雀组织项目文档,在README上应当放入项目的语雀文档链接

附加内容

视项目的实际情况,同样也应该包含以下内容:

  • 项目特性:说明本项目相较于其他同类项目所具有的特性
  • 兼容环境:说明本项目能够在什么平台上运行
  • 使用示例:展示一些使用本项目的小demo
  • 主要项目负责人:使用“@”标注出本项目的主要负责人,方便项目的用户沟通
  • 参与贡献的方式:规定好其他用户参与本项目并贡献代码的方式
  • 项目的参与者:列出项目主要的参与人
  • 已知用户:列出已经在生产环境中使用了本项目的全部或部分组件的公司或组织
  • 赞助者:列出为本项目提供赞助的用户

参考示例

https://code.alipay.com/linkcode/antcode