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

@schaffsch/waste-icons

v0.2.1

Published

Waste type and container SVG icons based on the European Waste Catalogue (AVV/EWC)

Readme

@schaffsch/waste-icons

SVG-Icon-Bibliothek für Abfallarten und Behältertypen basierend auf dem Europäischen Abfallverzeichnis (AVV). Über 150 handgemachte Icons für alle 20 AVV-Kapitel, 80+ Abfallgruppen, 40+ spezifische Abfallschlüssel und 20+ Behältertypen.

Installation

npm install @schaffsch/waste-icons

Verwendung

React-Komponenten

Einzelne Icons importieren für optimales Tree-Shaking:

import { ConcreteIcon, BrickIcon } from "@schaffsch/waste-icons/react/waste/outline";
import { SkipContainerIcon } from "@schaffsch/waste-icons/react/container/outline";

function Beispiel() {
  return (
    <div className="flex gap-2">
      <ConcreteIcon className="h-6 w-6 text-gray-600" />
      <SkipContainerIcon className="h-7 w-10 text-gray-400" />
    </div>
  );
}

Alle Icons akzeptieren React.SVGProps<SVGSVGElement> und leiten Refs weiter:

import { MiningIcon } from "@schaffsch/waste-icons/react/waste/outline";

<MiningIcon
  className="h-8 w-8"
  aria-label="Bergbauabfälle"
  style={{ color: "var(--icon-color)" }}
/>

WasteIcon-Wrapper (dynamische AVV-Codes)

Wenn der Abfallschlüssel aus einer Datenbank oder API kommt:

import WasteIcon from "@schaffsch/waste-icons/react/WasteIcon";

function AbfallKarte({ code, name }: { code: string; name: string }) {
  return (
    <div className="flex items-center gap-3">
      <WasteIcon code={code} className="h-6 w-6 text-gray-500" />
      <span>{name}</span>
    </div>
  );
}

// Lookup: exakter Code → 4-stellige Gruppe → 2-stelliges Kapitel → Fallback
<AbfallKarte code="170102" name="Ziegel" />
<AbfallKarte code="170199" name="Sonstige Bauabfälle" />  {/* Fällt auf Gruppe 1701 zurück */}

Rohe SVG-Dateien

Die optimierten SVGs direkt verwenden (kein React nötig):

optimized/waste/outline/concrete.svg
optimized/container/outline/skip-container.svg

Mit jedem Framework, <img>-Tags oder CSS-Hintergründen laden:

<img src="/icons/waste/outline/mining.svg" alt="Bergbauabfälle" width="24" height="24" />

Verfügbare Icon-Kategorien

Abfall-Icons (waste/outline/)

| Kategorie | Anzahl | Beispiele | |-----------|--------|-----------| | Kapitel (2-stellig) | 20 | mining, agriculture, packaging, municipal-waste | | Gruppen (4-stellig) | 80+ | concrete-bricks-tiles, hydraulic-oils, batteries | | Spezifische Codes (6-stellig) | 40+ | concrete, brick, fluorescent-tubes, bio-waste |

Behälter-Icons (container/outline/)

| Icon | Behältertyp | |------|-------------| | skip-container | Absetzcontainer | | roll-off-container | Abrollcontainer | | front-loader-bin | Umleerbehälter | | roll-off-compactor | Abrollcontainerpresse | | big-bag | Big Bag (FIBC) | | depot-container | Depotcontainer | | front-loader-container | Frontladerbehälter | | skip-compactor | Absetzcontainerpresse | | hazardous-waste-container | Sonderabfallbehälter | | drum | Fass | | clinical-waste-container | Krankenhausabfallbehälter | | underground-system | Unterflursystem | | mesh-pallet-box | Gitterbox | | canister | Kanister | | document-container | Aktenbehälter | | ibc-container | IBC | | sack-pallet | Sackware | | pallet-container | Palettenbehälter | | tank-container | Tankcontainer | | half-shell-container | Halbschalencontainer | | stationary-compactor | Stationäre Presse |

Icon-Design

  • Abfall-Icons: 24×24 viewBox, Stroke-basiert, 1.5px Strichstärke, currentColor
  • Behälter-Icons: 40×28 viewBox, Stroke-basiert, currentColor
  • Alle Icons verwenden currentColor für einfache Farbanpassung via CSS/Tailwind

Build-Pipeline

npm run extract      # SVGs aus TSX-Dateien extrahieren
npm run optimize     # Mit SVGO optimieren
npm run build:react  # React-Komponenten generieren
npm run build        # Alle drei Schritte

Lizenz

MIT