Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@tkskto/vue-component-analyzer

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tkskto/vue-component-analyzer

Analyze dependency tree for Vue.js SFC (Single File Component)

  • 0.4.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
283
decreased by-18.68%
Maintainers
1
Weekly downloads
 
Created
Source

vue-component-analyzer

This tool can Analyze dependency tree for Vue.js SFC (Single File Component). You can see GitHub Pages for a demo.

Also, you can see Props of Component.

or you can see simple text pattern.

Why?

When you try to change the behavior of components, it is hard to know where the component is used.

When you join a new big project using Vue.js, it is hard to understand dependencies.

installation and usage

You can install vue-component-analyzer using npm:

npm install @tkskto/vue-component-analyzer --save-dev

Then put command on npm scripts.

"scripts": {
  "vca": "vca --dir pages"
}

Or you can use npm exec(after npm install):

npm exec vca -- --dir .

CLI Options

  • --dir : analyze target directory. default is src. node_modules will be ignored by default.
  • --silent : running without almost logs.
  • -f or --format : report type. choose one from [browser | json | both]. default is browser.
  • -o or --out : output directory. JSON file will output here.
  • -p or --port : select a port number for the local server.

License

MIT License.

Keywords

FAQs

Package last updated on 12 Dec 2021

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