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

aircms

v1.2.0

Published

Use Airtable as a CMS.

Readme

AirCMS

Use Airtable as a CMS

Features:

  • Create your own CMS Collection Templates and pull the data from airtable. Use attributes to help the script know what is what.
  • Use your own airtable base as a custom Content Management System

Airtable Setup

Each table is it's own Collection. Each table must have a field called slug. For best results use the formula field with the formula below. this formula takes the Name field and makes all letters lowercase, with every space it replaces with a -

LOWER(
  SUBSTITUTE(
    IF(
      FIND(" (", Name),
      REPLACE(
        Name,
        FIND(" (", Name),
        FIND(")", Name),
        ""
      ),
      Name
    )
    ,
    " ",
    "-"
  )
)

Attribute tags:

Collection Lists

A collection list is a dynamic list that populates on your page, typically used in web development to display a set of items that are fetched from a data source, such as a database or an API. Each item in the collection list represents a single entity from the data source, and the list can automatically update as the data changes.

For example, in a blog application, a collection list might display a list of blog posts. Each item in the list would represent a single blog post, including its title, summary, and publication date. The collection list can be configured to automatically update when new blog posts are added or existing ones are modified.

Set up

To setup a collection list in your html it must contain a wrapper, list, empty, and item. here is the structure:

<div airCollection="wrapper">
  <div airCollection="list" airTable="products" loader-color="purple">
    <div airCollection="item">
      This is the item template that will be duplicated by the script
    </div>
  </div>
  <div airCollection="empty">
    This is where you would design what your Empty Collection
  </div>
</div>

The item with the airCollection="list" attribute must also have airTable="name of table". This is what allows the script to determine which table in your base to retrieve the data from.

Binding Data to collection item

Example of airCollection="item" div:

<a
              airCMS-image="main_image"
              style="
                background-image: url('https://cdn.prod.website-files.com/67200b19be39c0429e0468df/67240297b87c0e69bc182500_img.png');
              "
              airCMS-link="this"
              ><div>
                <div >
                  <div >$</div>
                  <div
                    airCMS-format=".2"
                    airCMS-text="sale_Price"
                  >
                    20.00
                  </div>
                </div>
              </div>
              <div airCMS-rating="rating" max="5">
                <div>
                  <img
                    airCMS-ratingStar="true"
                    src="https://cdn.prod.website-files.com/671fe75ae6a2a4e433e65afb/67200fd6746a3101fee76788_Vectors-Wrapper.svg"
                  /><img
                </div>
              </div>
              <div>
                <div>
                  <div airCMS-text="Name">
                    Lemon Grass Soap
                  </div>
            </a>

Collection Pages

setup: 404.html page This script needs to be on all pages in the after body tag. or in your website header script:

// Imports
import airCMS from "aircms";
import dotenv from "dotenv";
dotenv.config();

window.onload = () => {
  const cms = new airCMS(); // Instantiate airCMS class
  cms.init(); // initialize airCMS
};

head of index: (For STYLING)

<link
  rel="stylesheet"
  type="text/css"
  href="./node_modules/aircms/src/css/stylesheet.css"
/>

FUTURE UPDATES

  • LightBox
  • Loader on Full Page or In Individul spots
  • Decreased Async functions by nesting one level deep of records initially.