Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@tkskto/vue-component-analyzer
Advanced tools
Changelog
0.8.0
html
export format.mkdirp
to v3.0.0globby
to v13.1.4commander
to v10.0.1Readme
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.
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.
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 .
--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 | html]. default is browser
.-o
or --out
: output directory. JSON or HTML file will output here.-p
or --port
: select a port number for the local server.vue-component-analyzer is also available as an API from v0.6.1.
This API is intended to be used for testing.
import {getImportDeclarationTree} from '@tkskto/vue-component-analyzer';
const jsonOfTree = getImportDeclarationTree('entryFile.vue');
See index.d.ts for details of types.
(lastModifiedTime
can be noise. If you don't need it remove explicitly.)
MIT License.
FAQs
Analyze dependency tree for Vue.js SFC (Single File Component)
The npm package @tkskto/vue-component-analyzer receives a total of 229 weekly downloads. As such, @tkskto/vue-component-analyzer popularity was classified as not popular.
We found that @tkskto/vue-component-analyzer demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.