Retour au classement

RichardLitt/standard-readme

JavaScript

A standard style for README files

readmereadme-standardstandarddocsdocumentation
Croissance des étoiles
Étoiles
6.3k
Forks
2.5k
Croissance hebdomadaire
Issues
2
2k4k6k
oct. 2015mai 2019déc. 2022juil. 2026
Artefactsnpmnpm install standard-readme
README

Standard Readme

standard-readme compliant

A standard style for README files

Your README file is normally the first entry point to your code. It should tell people why they should use your module, how they can install it, and how they can use it. Standardizing how you write your README makes creating and maintaining your READMEs easier. Great documentation takes work!

This repository contains:

  1. The specification for how a standard README should look.
  2. A link to a linter you can use to keep your README maintained (work in progress).
  3. A link to a generator you can use to create standard READMEs.
  4. A badge to point to this spec.
  5. Examples of standard READMEs - such as this file you are reading.

Standard Readme is designed for open source libraries. Although it’s historically made for Node and npm projects, it also applies to libraries in other languages and package managers.

Table of Contents

Background

Standard Readme started with the issue originally posed by @maxogden over at feross/standard in this issue, about whether or not a tool to standardize readmes would be useful. A lot of that discussion ended up in zcei's standard-readme repository. While working on maintaining the IPFS repositories, I needed a way to standardize Readmes across that organization. This specification started as a result of that.

Your documentation is complete when someone can use your module without ever having to look at its code. This is very important. This makes it possible for you to separate your module's documented interface from its internal implementation (guts). This is good because it means that you are free to change the module's internals as long as the interface remains the same.

Remember: the documentation, not the code, defines what a module does.

~ Ken Williams, Perl Hackers

Writing READMEs is way too hard, and keeping them maintained is difficult. By offloading this process - making writing easier, making editing easier, making it clear whether or not an edit is up to spec or not - you can spend less time worrying about whether or not your initial documentation is good, and spend more time writing and using code.

By having a standard, users can spend less time searching for the information they want. They can also build tools to gather search terms from descriptions, to automatically run example code, to check licensing, and so on.

The goals for this repository are:

  1. A well defined specification. This can be found in the Spec document. It is a constant work in progress; please open issues to discuss changes.
  2. An example README. This Readme is fully standard-readme compliant, and there are more examples in the example-readmes folder.
  3. A linter that can be used to look at errors in a given Readme. Please refer to the tracking issue.
  4. A generator that can be used to quickly scaffold out new READMEs. See generator-standard-readme.
  5. A compliant badge for users. See the badge.

Install

You do not need to install anything to follow the specification. However, you can use the preset or the generator to work with README files.

If you want to print out the spec, this project uses node and npm. Go check them out if you don't have them locally installed.

$ npm install --global standard-readme-spec

Usage

This is only a documentation package. You can print out spec.md to your console:

$ standard-readme
# Prints out the standard-readme spec

Generator

To use the generator, look at generator-standard-readme. There is a global executable to run the generator in that package, aliased as standard-readme.

Badge

If your README is compliant with Standard-Readme and you're on GitHub, it would be great if you could add the badge. This allows people to link back to this Spec, and helps adoption of the README. The badge is not required.

standard-readme compliant

This badge uses Shields.io, a popular service for generating customizable badges for GitHub projects and documentation.

It is generally recommended to place badges near the top of your README so that important project information is immediately visible to readers. Avoid adding too many badges, as excessive badges can make a README look cluttered and reduce readability.

To add in Markdown format, use this code:

[![standard-readme compliant](https://img.shields.io/badge/readme%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme)

Example READMEs

To see how the specification has been applied, see the example-readmes.

Maintainers

@RichardLitt.

Contributing

Feel free to dive in! Open an issue or submit PRs.

Standard Readme follows the Contributor Covenant Code of Conduct.

Contributors

This project exists thanks to all the people who contribute.

License

MIT © Richard Littauer

Dépôts similaires
rahuldkjain/github-profile-readme-generator

🚀 Generate GitHub profile README easily with the latest add-ons like visitors count, GitHub stats, etc using minimal UI.

TypeScriptnpmApache License 2.0githubreadme
rahuldkjain.github.io/github-profile-readme-generator
24.4k8.4k
matiassingers/awesome-readme

A curated list of awesome READMEs

awesome-listawesome
21.2k4k
lowlighter/metrics

📊 An infographics generator with 30+ plugins and 300+ options to display stats about your GitHub account and render them as SVG, Markdown, PDF or JSON!

JavaScriptnpmMIT Licensereadmemetrics
metrics.lecoq.io
16.9k2.2k
othneildrew/Best-README-Template

An awesome README template to jumpstart your projects!

The Unlicensereadmereadme-template
16.2k23.1k
alexandresanlim/Badges4-README.md-Profile

:octocat: Improve your README.md profile with these amazing badges.

MarkdownMIT Licenseiconicons
alexandresanlim.github.io/Badges4-README.md-Profile/
13.3k1.7k
rzashakeri/beautify-github-profile

This repository will assist you in creating a more beautiful and appealing github profile, and you will have access to a comprehensive range of tools and tutorials for beautifying your github profile. 🪄 ⭐

Creative Commons Zero v1.0 Universalgithubgithub-profile
12.4k658
AkashSingh3031/The-Complete-FAANG-Preparation

Dive into this repository, a comprehensive resource covering Data Structures, Algorithms, 450 DSA by Love Babbar, Striver DSA sheet, Apna College DSA Sheet, and FAANG Questions! 🚀 That's not all! We've got Technical Subjects like Operating Systems, DBMS, SQL, Computer Networks, and Object-Oriented Programming, all waiting for you.

Jupyter NotebookMIT Licenseinterview-questionsdsa
prepverse.vercel.app
12k2.6k
kefranabg/readme-md-generator

📄 CLI that generates beautiful README.md files

JavaScriptnpmMIT Licensereadmereadme-template
npmjs.com/package/readme-md-generator
11.1k1.4k
DenverCoder1/readme-typing-svg

⚡ Dynamically generated, customizable SVG that gives the appearance of typing and deleting text for use on your profile page, repositories, or website.

PHPPackagistMIT Licensedynamicreadme
readme-typing-svg.demolab.com
9.1k1.6k
guodongxiaren/README

README文件语法解读,即Github Flavored Markdown语法介绍

The Unlicensereadmegfm
blog.csdn.net/guodongxiaren/article/details/23690801
7.1k7.1k
DenverCoder1/github-readme-streak-stats

🔥 Stay motivated and show off your contribution streak! 🌟 Display your total contributions, current streak, and longest streak on your GitHub profile README

PHPPackagistMIT Licenseprofileprofile-readme
streak-stats.demolab.com
7k1.6k
joeyespo/grip

Preview GitHub README.md files locally before committing them.

PythonPyPIMIT Licensegithubreadme
6.8k438