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

@keithk/deploy-core

v0.1.0

Published

Shared utilities and types for DialUpDeploy

Downloads

22

Readme

Flexible Web Core

This is the heart of Flexible Web—the core library that powers site discovery, configuration, routing, and more.

What Does Core Do?

  • Discovers and loads sites from /sites
  • Handles configuration (config.json per site)
  • Provides utilities for routing, subdomains, and dynamic mounting
  • Exposes APIs for building your own site types

Customizing Your Experience

Want to make Flexible Web your own? The core package is designed for hacking and extension. Build new site types, add custom configuration, or wire up your own plugins.

Example: Custom Site Type

You can add new logic for site detection, build steps, or runtime behavior by extending the core APIs. See the code and comments for extension points!

Building Your Own Sites

Add new folders in /sites and configure each with a config.json. The core will automatically detect and load them based on their type (static, dynamic, static-build, passthrough).

Configuration Structure

Each site is configured with a config.json file that defines its behavior:

{
  "type": "static-build",
  "buildDir": "dist",
  "commands": {
    "dev": "eleventy --serve",
    "build": "eleventy"
  },
  "subdomain": "my-site",
  "default": false,
  "actions": [
    {
      "id": "nightly-build",
      "type": "scheduled",
      "command": "bun run build",
      "cron": "0 3 * * *",
      "triggerBuild": true
    }
  ]
}

The configuration loader will automatically merge settings from config.json with any scripts defined in package.json and auto-detect appropriate values when possible.

The Old Internet Spirit

Flexible Web Core is all about empowerment—giving you the tools to create, remix, and share your own web spaces. Dive in, experiment, and make something uniquely yours!


For a full guide to configuration and advanced usage, see the main project README or the docs.