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

heartly-readme-boilerplate

v0.0.8

Published

Heartly README.md boilerplate

Downloads

12

Readme



Readmes are used to describe the contents of code repositories. Besides the title, description, and code directory, readmes are the first thing users see. This boilerplate contains items to assist in writing readmes.

Setup

Install Heartly Readme Boilerplate

npm i heartly-readme-boilerplate --save-dev

Copy DEFAULT_README.md

npx copy-heartly-default-readme

Edit DEFAULT_README.md to work as needed.

Standards

The standard section is the core section of the readme-boilerplate. It contains definitions and context for the rest of the readme-boiler-plate.

Headers

Headers for readme's should include a title h1, a sub-description h5, and a description p. After the header, the readme should contains sections that contain titles h2 and sub-titles h3.


The readme boiler plate writes out the title with the h1 tag rather than markdown so that the element is centered using the align attribute once marky-markdown issue 404 is fixed.

<h1>This a header 💕</h1>

The pre-description is added before a full description. It is written on like this so that the element can be centered (see here for why it is not currently).

<h5>This is a pre-description</h5>

The description should describe the product. It follows and linebreak ---.

---

A description

All together, this is a header that can be copied.

<h1 align="center">This a header 💕</h1>

<h5 align="center"This is a pre-description</h5>

---

A description

Navigation

Navigation can be provided if the is more than 1 section to a readme or document. Navigation links to sections within the readme and document.

Here is how navigation is written.

<p align="center">
  <a href="#section">section</a>&nbsp;&nbsp;
  <a href="#section">section</a>&nbsp;&nbsp;
  <a href="#section">section</a>
</p>

API Documentation

There is more than 1 way to approach API documentation. For smaller APIs, readmes can document APIs using tables or lists.

Table Format

| Name | Default | Description | |---|---|---| | initiate | function(){} | it is initiated | | start | function(){} | it is started |

| Name | Default | Description |
|---|---|---|
| initiate | `function(){}` | it is initiated |
| start | `function(){}` | it is started |

List Format

  • API
    • initiate: f
      • function(){}
      • example: an example
      • a description
    • start: f
      • function(){}
      • example: an example
      • a description
- **API**
  - **initiate:** `f`
     - `function(){}`
     - _example:_ an example
     - a description
  - **start:** `f`
     - `function(){}`
     - _example:_ an example
     - a description

Testing

Currently readme render testing is manual.

Manual Testing


Contributing

Contributing guidelines can define how to file issues, contributors, submitting pull requests, and defining how

The Heartly project is a set of lists and tools to help make the online code discussions more friendly. It moves forward with inspiration from discussions with Brian Gonzalez, Jason Farmer, Patrick Fisher, and Arjan Singh.