Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/security / / evaluateSupplyChainPolicy

Function: evaluateSupplyChainPolicy()

ts
function evaluateSupplyChainPolicy(packageName, policy?): SupplyChainDecision;

Defined in: packages/security/src/supply-chain/policy.ts:49

Evaluate the supply-chain policy for the supplied package name.

Parameters

ParameterType
packageNamestring
policySupplyChainPolicy

Returns

SupplyChainDecision

Stable