snyk-go-plugin
- Version 1.23.0
- Published
- 95.7 kB
- 7 dependencies
- Apache-2.0 license
Install
npm i snyk-go-plugin
yarn add snyk-go-plugin
pnpm add snyk-go-plugin
Overview
Snyk CLI Golang plugin
Index
Functions
function buildDepGraphFromImportsAndModules
buildDepGraphFromImportsAndModules: ( root?: string, targetFile?: string, additionalArgs?: string[]) => Promise<DepGraph>;
function inspect
inspect: ( root: any, targetFile: any, options?: Options) => Promise< | { plugin: { name: string; runtime: string | undefined; targetFile: any }; dependencyGraph: DepGraph | undefined; package?: undefined; } | { plugin: { name: string; runtime: string | undefined; targetFile: any }; package: DepTree | undefined; dependencyGraph?: undefined; }>;
function jsonParse
jsonParse: (s: string) => any;
Interfaces
interface DepDict
interface DepDict {}
index signature
[name: string]: DepTree;
interface DepTree
interface DepTree {}
property dependencies
dependencies?: DepDict;
property name
name: string;
property packageFormatVersion
packageFormatVersion?: string;
property version
version?: string;
Package Files (1)
Dependencies (7)
Dev Dependencies (13)
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/snyk-go-plugin
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/snyk-go-plugin)
- HTML<a href="https://www.jsdocs.io/package/snyk-go-plugin"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 3688 ms. - Missing or incorrect documentation? Open an issue for this package.