MCPcopy Create free account
hub / github.com/ngrx/platform / open

Method open

projects/www/src/app/examples/examples.service.ts:41–57  ·  view source on GitHub ↗
(exampleName: string)

Source from the content-addressed store, hash-verified

39 }
40
41 async open(exampleName: string) {
42 const config = await this.getConfig(exampleName);
43
44 return sdk.openProject(
45 {
46 title: config.name,
47 description: config.description,
48 template: 'node',
49 files: {
50 ...config.files,
51 },
52 },
53 {
54 openFile: config.open,
55 }
56 );
57 }
58
59 async extractSnippet(path: string, region?: string): Promise<string> {
60 try {

Callers 2

AuthEffectsClass · 0.80
openStackblitzMethod · 0.80

Calls 1

getConfigMethod · 0.95

Tested by

no test coverage detected