
Security News
The Changelog Podcast: Practical Steps to Stay Safe on npm
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.
Command-line tool for managing NDK Svelte components.
The CLI is designed to be used with npx without installation:
npx ndk-svelte add event-card
Or install globally:
npm install -g ndk-svelte
addAdd NDK components to your project.
# Add specific components
npx ndk-svelte add event-card user-profile
# Add a single component
npx ndk-svelte add event-card
# List available components
npx ndk-svelte add
# Install all components (requires --yes)
npx ndk-svelte add --all --yes
# Overwrite existing files
npx ndk-svelte add event-card --overwrite
Options:
[components...] - Component names to add-a, --all - Install all available components-o, --overwrite - Overwrite existing files-y, --yes - Skip confirmation prompts-p, --path <path> - Custom installation path--registry <url> - Custom registry URL (default: https://shadcn.ndk.fyi)upgradeCheck for component updates and optionally upgrade them.
# Check for updates
npx ndk-svelte upgrade
# Auto-upgrade all components
npx ndk-svelte upgrade --yes
# Use custom registry
npx ndk-svelte upgrade --registry https://custom-registry.com
Options:
-y, --yes - Auto-upgrade all components without prompting--registry <url> - Custom registry URL (default: https://shadcn.ndk.fyi)@ndk-version headersnpx shadcn-svelte@latest add <component>π NDK Svelte Component Upgrade Tool
ββββββββββββββββββββββββββββββββββββββββββββββββββ
π Scanning project for NDK components...
π Scanning src/ (42 files)
β Found 3 NDK component(s):
π¦ event-card v0.8.0 (8 file(s))
π¦ user-profile v0.15.0 (13 file(s))
π¦ zap-button v0.5.0 (1 file(s))
π‘ Checking for updates from https://shadcn.ndk.fyi...
β Registry version: 4.0.0-beta.22
ββββββββββββββββββββββββββββββββββββββββββββββββββ
π 2 component(s) can be upgraded:
π¦ event-card
Event Card
0.8.0 β 0.14.0
π¦ user-profile
User Profile
0.15.0 β 0.18.0
π‘ To upgrade all components, run:
npx ndk-svelte upgrade --yes
Or upgrade individually:
npx shadcn-svelte@latest add event-card
npx shadcn-svelte@latest add user-profile
Components installed with npx shadcn-svelte@latest add include version headers:
Svelte files:
<!-- @ndk-version: event-card@0.14.0 -->
<script>
// Component code
</script>
TypeScript/JavaScript files:
// @ndk-version: event-card@0.14.0
export function something() { }
The CLI scans these headers to determine which components you have installed and their versions.
To publish a new version:
npm version patch # or minor, or major
npm publish
FAQs
CLI for managing NDK Svelte components
We found that ndk-svelte demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.