
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
component-fetch
Advanced tools
Install components from your GitHub repository aka shadcn for your UI library
Login
npx component-fetch login
? Enter your GitHub personal access token (https://github.com/settings/tokens): [hidden]
✓ Successfully logged in as mrzmyr
[!NOTE] Required permissions: Contents: Read-only
Initialize
First you need to have a GitHub repository with components to install from, see component-fetch-registry for example.
npx component-fetch init
? Enter the GitHub repository (owner/repo): mrzmyr/component-fetch-registry
? Where should components be installed locally? src/components/cf
✓ Configuration saved successfully
Install component
npx component-fetch add button
Fetching https://github.com/mrzmyr/component-fetch-registry/tree/main/src/components/button
✔ Installed `button` to `src/components/cf/button`
Use component
import { Button } from "src/components/cf/button";
npx component-fetch login
Add GitHub credentials
npx component-fetch init
Create
component-fetch.config.json
file
npx component-fetch add
Fetch components and install them to your project
npx component-fetch logout
Remove stored credentials
FAQs
Install components from your GitHub repository aka shadcn for your UI library
The npm package component-fetch receives a total of 1 weekly downloads. As such, component-fetch popularity was classified as not popular.
We found that component-fetch demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.