Have ideas to improve npm?Join in the discussion! »

    @acoustic-content-sdk/tooling-dependencies
    TypeScript icon, indicating that this package has built-in type declarations

    9.0.10076 • Public • Published

    npm

    Utility functions to detect dependencies in packages

    API Documentation

    Home > @acoustic-content-sdk/tooling-dependencies

    tooling-dependencies package

    Utility functions to detect dependencies in packages

    Functions

    Function Description
    detectDependencies(aDir) Detects direct dependencies from the build output by scanning the CJS file and by following the dependencies in the typings. The implementation will not resolve these dependencies transitively.
    findPeerDependencies(aDeps) Finds all peer dependencies of the given packages together will all peer dependencies

    Variables

    Variable Description
    VERSION Version and build number of the package

    Home > @acoustic-content-sdk/tooling-dependencies > detectDependencies

    detectDependencies() function

    Detects direct dependencies from the build output by scanning the CJS file and by following the dependencies in the typings. The implementation will not resolve these dependencies transitively.

    Signature:

    export declare function detectDependencies(aDir: string): Promise<string[]>;

    Parameters

    Parameter Type Description
    aDir string the directory to scan

    Returns:

    Promise<string[]>

    the list of dependencies

    Home > @acoustic-content-sdk/tooling-dependencies > findPeerDependencies

    findPeerDependencies() function

    Finds all peer dependencies of the given packages together will all peer dependencies

    Signature:

    export declare function findPeerDependencies(aDeps: string[]): Promise<string[]>;

    Parameters

    Parameter Type Description
    aDeps string[] a list of all dependencies

    Returns:

    Promise<string[]>

    the list of all peer dependencies of these dependencies

    Home > @acoustic-content-sdk/tooling-dependencies > VERSION

    VERSION variable

    Version and build number of the package

    Signature:

    VERSION{
        version{
            majorstring;
            minorstring;
            patchstring;
            branchstring;
        };
        buildDate;
    }

    Install

    npm i @acoustic-content-sdk/tooling-dependencies

    DownloadsWeekly Downloads

    0

    Version

    9.0.10076

    License

    MIT

    Unpacked Size

    225 kB

    Total Files

    33

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar