Skip to content

dependabit / detector/src / extractSpecReferences

Function: extractSpecReferences()

ts
function extractSpecReferences(content): {
  context: string;
  spec: string;
}[];

Defined in: packages/detector/src/parsers/code-comments.ts:153

Extract specification and RFC references from comments

Parameters

ParameterType
contentstring

Returns

{ context: string; spec: string; }[]

Released under the MIT License.