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

@semanticintent/recall-ui

v0.1.3

Published

Component library for RECALL — reusable .rcpy copybooks in the COBOL tradition. COPY FROM the library. Compile to HTML.

Readme

@semanticintent/recall-ui

Standard component library for RECALL — reusable .rcpy copybooks for nav, footer, hero, stat grids, card sections, and themes.

Install

npm install @semanticintent/recall-ui

Requires @semanticintent/recall-compiler v0.8.8 or later.

Scaffold

The fastest way to start. recall scaffold reads the component manifest and generates a complete, compilable .rcl file pre-populated with the correct DATA DIVISION fields, PIC types, COMMENT annotations, and PROCEDURE DIVISION usage:

# See what's available
recall scaffold --list --plugin @semanticintent/recall-ui

# Generate to stdout
recall scaffold PAGE-HERO --plugin @semanticintent/recall-ui

# Generate to file
recall scaffold PAGE-HERO --plugin @semanticintent/recall-ui --out ./my-page.rcl

The generated file has placeholder values in [FIELD-NAME] format. Fill in your content, then recall check and recall compile.

Usage

ENVIRONMENT DIVISION.
   COPY FROM "@semanticintent/recall-ui/themes/dark.rcpy".

COMPONENT DIVISION.
   COPY FROM "@semanticintent/recall-ui/components/nav.rcpy".
   COPY FROM "@semanticintent/recall-ui/components/hero.rcpy".
   COPY FROM "@semanticintent/recall-ui/components/stat-section.rcpy".
   COPY FROM "@semanticintent/recall-ui/components/footer.rcpy".

PROCEDURE DIVISION.
   RENDER.
      DISPLAY SITE-NAV     WITH DATA SITE-LOGO, NAV-ITEMS.
      DISPLAY PAGE-HERO    WITH DATA HERO-TITLE, HERO-SUBTITLE, CTA-LABEL, CTA-HREF.
      DISPLAY STAT-SECTION WITH DATA SECTION-TITLE, STATS, STAT-COLUMNS.
      DISPLAY SITE-FOOTER  WITH DATA FOOTER-TEXT.
   STOP RUN.

Components use the ACCEPTS / WITH DATA pattern — your DATA DIVISION field names must match what each component declares it accepts.


Themes

themes/dark.rcpy

Dark terminal theme. IBM Plex Mono primary, green accent.

ENVIRONMENT DIVISION.
   COPY FROM "@semanticintent/recall-ui/themes/dark.rcpy".

| Token | Value | |---|---| | COLOR-BG | #080808 | | COLOR-TEXT | #f0f0f0 | | COLOR-ACCENT | #00ff41 | | COLOR-BORDER | #2a2a2a | | FONT-PRIMARY | IBM Plex Mono | | FONT-SECONDARY | IBM Plex Sans |

Components

All components declare their data contract via ACCEPTS. The caller passes DATA DIVISION fields using WITH DATA at invocation.


components/nav.rcpy

Sticky top navigation bar with logo and links.

ACCEPTS: SITE-LOGO NAV-ITEMS

DATA DIVISION.
   WORKING-STORAGE SECTION.
      01 SITE-LOGO PIC X(20) VALUE "ACME".
   ITEMS SECTION.
      01 NAV-ITEMS.
         05 NAV-ITEM-1      PIC X(30) VALUE "Docs".
         05 NAV-ITEM-1-HREF PIC X(80) VALUE "/docs.html".
         05 NAV-ITEM-2      PIC X(30) VALUE "GitHub".
         05 NAV-ITEM-2-HREF PIC X(80) VALUE "https://github.com/you/repo".

PROCEDURE DIVISION.
   RENDER.
      DISPLAY SITE-NAV WITH DATA SITE-LOGO, NAV-ITEMS.
   STOP RUN.

components/footer.rcpy

Centered page footer.

ACCEPTS: FOOTER-TEXT

DATA DIVISION.
   WORKING-STORAGE SECTION.
      01 FOOTER-TEXT PIC X(100) VALUE "ACME Corp — MIT License".

PROCEDURE DIVISION.
   RENDER.
      DISPLAY SITE-FOOTER WITH DATA FOOTER-TEXT.
   STOP RUN.

components/hero.rcpy

Full-width hero section. SPLIT layout — headline and subtitle on the left, CTA button on the right.

ACCEPTS: HERO-TITLE HERO-SUBTITLE CTA-LABEL CTA-HREF

DATA DIVISION.
   WORKING-STORAGE SECTION.
      01 HERO-TITLE    PIC X(60)  VALUE "Build faster with RECALL.".
      01 HERO-SUBTITLE PIC X(200) VALUE "Declarative web pages from plain text.".
      01 CTA-LABEL     PIC X(20)  VALUE "Get Started".
      01 CTA-HREF      PIC X(80)  VALUE "/docs.html".

PROCEDURE DIVISION.
   RENDER.
      DISPLAY PAGE-HERO WITH DATA HERO-TITLE, HERO-SUBTITLE, CTA-LABEL, CTA-HREF.
   STOP RUN.

components/stat-section.rcpy

Labelled section wrapping a STAT-GRID. Use for KPIs, metrics, and case study stats.

ACCEPTS: SECTION-TITLE STATS STAT-COLUMNS

Each stat item needs a -VALUE and -LABEL field pair:

DATA DIVISION.
   WORKING-STORAGE SECTION.
      01 SECTION-TITLE PIC X(40) VALUE "Key Metrics".
      01 STAT-COLUMNS  PIC 9     VALUE "4".
   ITEMS SECTION.
      01 STATS.
         05 STAT-1.
            10 STAT-1-VALUE PIC X(10) VALUE "2,451".
            10 STAT-1-LABEL PIC X(30) VALUE "FETCH Score".
         05 STAT-2.
            10 STAT-2-VALUE PIC X(10) VALUE "6/6".
            10 STAT-2-LABEL PIC X(30) VALUE "Dimensions".

PROCEDURE DIVISION.
   RENDER.
      DISPLAY STAT-SECTION WITH DATA SECTION-TITLE, STATS, STAT-COLUMNS.
   STOP RUN.

components/card-section.rcpy

Labelled section wrapping a CARD-LIST. Use for feature grids, resource listings, portfolio entries.

ACCEPTS: SECTION-TITLE CARDS

DATA DIVISION.
   WORKING-STORAGE SECTION.
      01 SECTION-TITLE PIC X(40) VALUE "Features".
   ITEMS SECTION.
      01 CARDS.
         05 CARD-1.
            10 CARD-1-TITLE PIC X(60)  VALUE "Zero dependencies".
            10 CARD-1-BODY  PIC X(200) VALUE "Every compiled page is a single self-contained HTML file.".
            10 CARD-1-HREF  PIC X(80)  VALUE "/docs.html".

PROCEDURE DIVISION.
   RENDER.
      DISPLAY CARD-SECTION WITH DATA SECTION-TITLE, CARDS.
   STOP RUN.

LOAD FROM + recall-ui

Combine LOAD FROM (v0.7) with recall-ui components to drive pages entirely from JSON data:

DATA DIVISION.
   LOAD FROM "brief.json".

COMPONENT DIVISION.
   COPY FROM "@semanticintent/recall-ui/components/hero.rcpy".
   COPY FROM "@semanticintent/recall-ui/components/stat-section.rcpy".

PROCEDURE DIVISION.
   RENDER.
      DISPLAY PAGE-HERO    WITH DATA HERO-TITLE, HERO-SUBTITLE, CTA-LABEL, CTA-HREF.
      DISPLAY STAT-SECTION WITH DATA SECTION-TITLE, STATS, STAT-COLUMNS.
   STOP RUN.

Where brief.json contains scalar fields (HERO-TITLE, CTA-HREF, etc.) and array fields (STATS).


License

MIT — semanticintent