MCPcopy
hub / github.com/conwnet/github1s / Npmjs1sAdapter

Class Npmjs1sAdapter

extensions/github1s/src/adapters/npmjs1s/index.ts:10–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8import { Adapter, PlatformName } from '../types';
9
10export class Npmjs1sAdapter implements Adapter {
11 public scheme: string = 'npmjs1s';
12 public platformName = PlatformName.npm;
13
14 resolveDataSource() {
15 return Npmjs1sDataSource.getInstance();
16 }
17
18 resolveRouterParser() {
19 return Npmjs1sRouterParser.getInstance();
20 }
21}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected