Socket
Socket
Sign inDemoInstall

@snyk/cli-interface

Package Overview
Dependencies
2
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@snyk/cli-interface

Snyk CLI interface definitions


Version published
Maintainers
1
Created

Readme

Source

snyk-cli-interface

Interface definitions for interactions between Snyk CLI and associated components:

  • plugins for analyzing various build systems
  • monitor states sent to snyk.io website

This library should be only imported from Typescript.

The types can be imported in one of the following ways:

  • whole sub-module import from the top level

    import { legacyPlugin as api } from '@snyk/cli-interface'; // use api.InspectOptions

  • "deep import" (discouraged but possible)

    import { InspectOptions } from '@snyk/cli-interface/legacy/plugin';

The npm package does not follow the usual Snyk convention and exports the build files in the root directory, not in dist, to enable "deep imports".

We still have to publish the package using the compiled files, because many tools in Node.js ecosystem assume that published libraries should be always in Javascript.

FAQs

Package last updated on 10 May 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc