@servicetitan/component-usage
    TypeScript icon, indicating that this package has built-in type declarations

    21.7.3 • Public • Published

    @servicetitan/component-usage

    Use this package to report on component usage across your project.

    Usage

    Basic Usage

    $ npm install --save-dev @servicetitan/component-usage
    $ npx component-usage
    

    Or for one-time use with no installation:

    $ npx @servicetitan/component-usage
    

    Options

    You must specify at least one "mode" option: --sendToDataDog, --outputDir, --teamCityOutput.

    The examples below show the long form of each option (like --sendToDataDog), but short forms are available (like -s). To see all the long and short options, use --help.

    Display help:

    $ npx @servicetitan/component-usage --help
    

    Generate stats files locally in the current directory:

    $ npx @servicetitan/component-usage --outputDir .
    

    Send metrics to DataDog:

    $ npx @servicetitan/component-usage --sendToDataDog --dataDogApiKey ...API_KEY_GOES_HERE... --dataDogApplicationKey ...APP_KEY_GOES_HERE...
    

    Porque no los dos?

    $ npx @servicetitan/component-usage --outputDir . --sendToDataDog --dataDogApiKey ...API_KEY_GOES_HERE... --dataDogApplicationKey ...APP_KEY_GOES_HERE...
    

    TeamCity output

    $ npx @servicetitan/component-usage --teamCityOutput
    

    Keywords

    none

    Install

    npm i @servicetitan/component-usage

    DownloadsWeekly Downloads

    278

    Version

    21.7.3

    License

    none

    Unpacked Size

    191 kB

    Total Files

    17

    Last publish

    Collaborators

    • bnguyenst
    • johnnycoyle
    • fsuchodolski-st
    • st-marketing-automation
    • zefirka
    • sasuntitan
    • st-team
    • kanoshin
    • jpex
    • tounsoo
    • rgdelato