Home / Function/ extract_stackblitz_github_info() — svelte Function Reference

extract_stackblitz_github_info() — svelte Function Reference

Architecture documentation for the extract_stackblitz_github_info() function in download.js from the svelte codebase.

Entity Profile

Dependency Diagram

graph TD
  f709ef5b_d049_7745_e57e_b20572ecaf69["extract_stackblitz_github_info()"]
  65d20932_41e6_eeee_7338_5dd0682e5e42["download.js"]
  f709ef5b_d049_7745_e57e_b20572ecaf69 -->|defined in| 65d20932_41e6_eeee_7338_5dd0682e5e42
  7a0c3971_4aad_e45c_0f94_e20764387971["clone_stackblitz_github_project()"]
  7a0c3971_4aad_e45c_0f94_e20764387971 -->|calls| f709ef5b_d049_7745_e57e_b20572ecaf69
  style f709ef5b_d049_7745_e57e_b20572ecaf69 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

playgrounds/sandbox/scripts/download.js lines 90–99

function extract_stackblitz_github_info(url) {
	// URL format: /github/owner/repo or /github/owner/repo/tree/branch/path
	const parts = url.pathname.split('/').filter(Boolean);
	// parts[0] = 'github', parts[1] = owner, parts[2] = repo
	return {
		owner: parts[1],
		repo: parts[2],
		path: parts.length > 3 ? parts.slice(3).join('/') : undefined
	};
}

Domain

Subdomains

Frequently Asked Questions

What does extract_stackblitz_github_info() do?
extract_stackblitz_github_info() is a function in the svelte codebase, defined in playgrounds/sandbox/scripts/download.js.
Where is extract_stackblitz_github_info() defined?
extract_stackblitz_github_info() is defined in playgrounds/sandbox/scripts/download.js at line 90.
What calls extract_stackblitz_github_info()?
extract_stackblitz_github_info() is called by 1 function(s): clone_stackblitz_github_project.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free