@nodesecure/mama
Version:
11 lines • 532 B
TypeScript
import type { PackumentVersion, PackageJSON, WorkspacesPackageJSON } from "@nodesecure/npm-types";
export interface PackageJSONIntegrityHashOptions {
/**
* Know whether the document comes from the NPM registry or a local tarball/project
*
* @default false
*/
isFromRemoteRegistry?: boolean;
}
export declare function packageJSONIntegrityHash(document: PackumentVersion | PackageJSON | WorkspacesPackageJSON, options?: PackageJSONIntegrityHashOptions): string;
//# sourceMappingURL=integrity-hash.d.ts.map