Skip to content

armgit / rea

Public Imported from GitHub
0

Reverse engineer anything with agents, from app behavior down to native binaries.

533 B
Raw Blame
export type NpmReleaseState =
  | { status: "absent" }
  | {
      status: "published";
      integrity: string;
      tag: "latest" | "next";
      taggedVersion: string | null;
      stableVersion: string | null;
    };
export function readQualifiedNpmRelease(
  version: string,
  tag: "latest" | "next",
  request?: (url: string, init: RequestInit) => Promise<Response>,
): Promise<NpmReleaseState>;
export function requireMatchingNpmRelease(
  tarball: string,
  version: string,
  published: NpmReleaseState,
): Promise<void>;