New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@servicetitan/component-usage

Package Overview
Dependencies
Maintainers
0
Versions
231
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@servicetitan/component-usage

Usage metrics of @servicetitan components

  • 28.3.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

@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

FAQs

Package last updated on 15 Jan 2025

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc