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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@demi-valerith/yard-material-coverage-data

v1.3.0

Published

Open cubic-yard coverage, material density, and bag conversion data for landscape planning.

Readme

Yard Material Coverage Data

DOI

Dataset version 1.1.0. Package and widget version 1.3.0.

Open planning data for common yard and landscape materials:

  • square feet covered by one cubic yard at common depths;
  • typical tons per cubic yard by material;
  • common bag counts per cubic yard.

The files are intended for calculators, supplier resource pages, garden-planning worksheets, and educational examples. Values are planning estimates; moisture, gradation, compaction, bag fill, and supplier measurements vary.

Install

npm install @demi-valerith/yard-material-coverage-data
import coverageData, {
  cubicYardsRequired,
  findMaterialDensity,
  squareFeetPerCubicYard,
} from "@demi-valerith/yard-material-coverage-data";

squareFeetPerCubicYard(3); // 108
cubicYardsRequired(500, 3); // 4.6296...
findMaterialDensity("pea gravel"); // { minimum: 1.25, maximum: 1.4, ... }
console.log(coverageData.bagsPerCubicYard);

The package is an ESM module and includes TypeScript declarations. The versioned JSON file is also available without installation from jsDelivr:

https://cdn.jsdelivr.net/npm/@demi-valerith/[email protected]/coverage.json

Embeddable coverage widget

Add the calculator to a supplier resource page, landscaping article, or project guide:

<script
  type="module"
  src="https://cdn.jsdelivr.net/npm/@demi-valerith/[email protected]/widget.js"
></script>
<yard-material-coverage
  material="Pea gravel"
  materials="Pea gravel,Crushed stone,River rock"
  area="500"
  depth="3"
  unit="imperial"
  accent="#ab4c29"
  attribution="visible"
  utm-source="supplier_site"
  utm-campaign="coverage_widget"
></yard-material-coverage>

The widget is responsive, dependency-free, and supports:

  • material: initial material name or hyphenated slug;
  • materials: comma-separated material allowlist;
  • area and depth: initial positive numeric values;
  • unit: imperial for square feet, inches, cubic yards, and short tons, or metric for square meters, centimeters, cubic meters, and metric tonnes;
  • accent: six-digit hexadecimal result accent color;
  • attribution: visible by default or hidden;
  • utm-source and utm-campaign: bounded identifiers added to the optional source link.

See the runnable plain HTML, React, Astro, and WordPress examples.

Privacy and attribution

The package performs no analytics, storage, cookies, or background network requests. When attribution is visible, UTM parameters are transmitted only if a visitor clicks the source link.

The source link is optional for the MIT-licensed widget code. Republishing the CC BY 4.0 dataset or its documentation still requires appropriate credit and a link to the source chart. The WordPress plugin keeps public attribution opt-in to comply with WordPress.org directory rules.

Files

Formula

square feet covered by 1 cubic yard = 324 / depth in inches
cubic yards required = square feet * depth in inches / 324

Source and calculators

Full tables, printable assets, assumptions, and project calculators are available from the Yard Material Coverage Chart.

Useful project tools:

License

Data and documentation are available under CC BY 4.0. JavaScript, TypeScript declarations, tests, and examples are available under MIT. See LICENSE.md.

Citation

Use the repository's CITATION.cff metadata when citing a specific release.

Suggested citation:

Yard Material Tools. (2026). Yard Material Coverage Data (Version 1.1.0) [Data set]. Zenodo. https://doi.org/10.5281/zenodo.21370505