UNPKG

@servable/tools

Version:

Servable tools is a utility that builds a protocol's manifest and documents it.

8 lines (6 loc) 276 B
import * as ProtocolLoaderFactory from '../../protocolLoader/factory/index.js' export default async ({ protocolPayload }) => { const { path, version } = protocolPayload const _loader = await ProtocolLoaderFactory.getByPathAndVersion({ path, version }) return _loader }