@w3sec/cli-interface
TypeScript icon, indicating that this package has built-in type declarations

2.11.0 • Public • Published

w3security-cli-interface

Interface definitions for interactions between W3Security CLI and associated components:

  • plugins for analyzing various build systems
  • monitor states sent to w3security.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 '@w3security/cli-interface'; // use api.InspectOptions

  • "deep import" (discouraged but possible)

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

The npm package does not follow the usual W3Security 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.

/@w3sec/cli-interface/

    Package Sidebar

    Install

    npm i @w3sec/cli-interface

    Weekly Downloads

    1

    Version

    2.11.0

    License

    Apache-2.0

    Unpacked Size

    20.9 kB

    Total Files

    18

    Last publish

    Collaborators

    • sulaiman-coder
    • nextlinux