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

@ue-shed/plugin-distribution

v0.8.0

Published

Verified installation, immutable storage, and scoped leasing for UE Shed Unreal plugin distributions.

Downloads

501

Readme

@ue-shed/plugin-distribution

Headless installation, verification, immutable caching, dependency resolution, and scoped leasing for UE Shed Unreal plugin distributions. The package does not depend on Workbench, Electron, a project layout, or a particular release transport, and it never mutates an Unreal project.

Acquire an exact variant

Compose one PluginReleaseSource, one caller-owned PluginStore, and the pluginDistributionLayer. Installation is scoped because the returned cache version remains leased until the surrounding Effect scope closes.

import {
	PluginDistribution,
	githubReleaseSourceLayer,
	pluginDistributionLayer,
	pluginStoreLayer
} from "@ue-shed/plugin-distribution";
import { Effect, Layer } from "effect";

const dependencies = Layer.merge(
	githubReleaseSourceLayer({ owner: "ue-shed", repository: "ue-shed" }),
	pluginStoreLayer({ cacheRoot: "C:/host-owned-cache/ue-shed-plugins" })
);
const live = pluginDistributionLayer().pipe(Layer.provide(dependencies));

const program = Effect.scoped(
	Effect.flatMap(PluginDistribution, (distribution) =>
		distribution.install({
			artifact: {
				architecture: "x64",
				configuration: "Development",
				engineBuildId: "<exact UnrealEditor.modules BuildId>",
				kind: "compiled",
				platform: "Win64",
				target: "UnrealEditor",
				unrealVersion: "5.7.4"
			},
			expectedArtifactSha256: "sha256:<pinned artifact digest>",
			expectedManifestSha256: "sha256:<pinned manifest digest>",
			networkPolicy: "online",
			pluginIds: ["UEShedCameras"],
			releaseVersion: "<exact version>"
		})
	)
).pipe(Effect.provide(live));

resolvedPluginIds is deterministic and dependency-first. descriptorPaths contains absolute verified .uplugin paths suitable for @ue-shed/engine supervised launch requests. Runtime capability negotiation remains the responsibility of @ue-shed/engine and @ue-shed/unreal-connection after Unreal starts.

Use artifact: { kind: "source" } only when the caller explicitly wants portable source. A binary request requires an exact engine BuildId, platform, architecture, target, and configuration and never falls back to source. Set networkPolicy to cache-only for offline operation. A verified entry is reused without source access; a missing entry fails with OfflineCacheMiss. prune is explicit and refuses an active lease. Cache versions are never overwritten or repaired in place.

The install scope is the lease lifetime. Keep that scope open until the supervised Unreal session has stopped; releasing it removes the cross-process lease record. The immutable cached variant remains until the host explicitly calls prune({ releaseVersion, variantIdentity }).

Schema-v1 source caches below releases/<version> and schema-v2 manifests remain readable. New schema-v3 source and compiled artifacts bind npm tarball, wire-contract, module, native-file, source, and engine-build provenance. Variants coexist below variants/<version>/<pv2-identity> and have exact per-variant leases.

CLI

Host-cache operations are grouped by destination:

ue-shed plugins cache install
ue-shed plugins cache list
ue-shed plugins cache verify
ue-shed plugins cache prune
ue-shed plugins build

plugins build is a separately invoked, supervised AutomationTool build and never runs as part of cache installation. ue-shed plugins install remains the distinct project-scoped command that writes to <Project>/Plugins.

Public boundary

  • Services: PluginDistribution, PluginReleaseSource, PluginStore, and CompiledPluginBuilder.
  • Layers: pluginDistributionLayer, pluginStoreLayer, localPluginReleaseSourceLayer, httpPluginReleaseSourceLayer, and githubReleaseSourceLayer.
  • Contracts: PluginInstallRequest, PluginInstallResult, PluginInstallProgress, PluginLease, CachedPluginRelease, PluginVariantRequest, PluginVariantReference, compiled build requests and results, and the plugin bundle manifest schemas.
  • Shared primitives: verifyPluginArtifact, extractPluginArchive, dependency resolution, and asset-name helpers.

Progress is a discriminated sequence of resolving, downloading, verifying, extracting, publishing, and ready events. Pass onProgress and an AbortSignal as install options. Expected failures are exported tagged schema classes, including unavailable/offline releases, manifest and exact-build compatibility failures, digest mismatches, unsafe archives, corrupt/conflicting cache entries, cancellation, active leases, transport/storage failures, and internal invariants.

Release assets and transport

GitHub is one adapter rather than package-manager policy. Local, immutable HTTP, GitHub Release, and downstream registry adapters select their own asset layouts. The bundled GitHub Map Review adapter selects exact v<version> releases and these source assets:

  • ue-shed-plugins-map-review-<version>.manifest.json
  • ue-shed-plugins-map-review-<version>.tar.gz

The manifest pins the archive size and SHA-256 digest. Hosts should additionally pin both manifest and artifact digests. No latest, version range, release-page scraping, or mutable catalog lookup is part of the install contract.