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

@alistigo/artifact-manager

v0.2.1

Published

Artifact configuration management for Alistigo — reads, validates, and resolves artifact config at runtime.

Readme

@alistigo/artifact-manager

npm version License: MIT TypeScript CI

The entrypoint to use Alistigo applications in an artifact. Include the manager then give a manager configuration with what application you want + its plugins, options and a document.


Minimal usage

<script src="https://cdn.jsdelivr.net/npm/@alistigo/artifact-manager@0/dist/index.umd.js"></script>
<script id="alistigo-manager-config" type="application/json">
{
  "app": "@alistigo/artifact-list"
}
</script>

That's it. In this example the manager will load the list application with its default configuration.


Config reference

The #alistigo-manager-config script tag must contain valid JSON matching the @alistigo/artifact-config-format schema.

Only the field app is required.

See @alistigo/artifact-config-format for more details.


Programmatic API

For environments where you control initialization yourself (e.g. a framework or custom boot sequence), import the package as an ES module:

import { init } from "@alistigo/artifact-manager";

init('#selector', {
  app: "@alistigo/artifact-list"
});

The first argument is a target where to insert the application. The second argument is the artifact-config.


How it works

  1. The UMD bundle loads and runs immediately (or on DOMContentLoaded if the script is in <head>)
  2. It reads and parses the JSON in <script id="alistigo-manager-config" type="application/json">
  3. Config is validated against @alistigo/artifact-config-format — a TypeError is thrown on invalid input
  4. If no <div id="app"> exists, one is appended to <body>
  5. The artifact's UMD bundle is injected as a <script> tag into <head> and runs, auto-mounting into #app

Error handling

If the config tag is missing or contains invalid JSON or an invalid config shape, the manager renders a red error banner at the top of <body> rather than silently failing:

@alistigo/artifact-manager: Missing required <script id="alistigo-manager-config" ...> tag.