UNPKG

@servable/tools

Version:

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

10 lines (8 loc) 236 B
import getModule from "./getModule.js" export const getByPathAndVersion = async ({ path, version }) => { const module = await getModule({ path, version }) if (!module) { return null } return new module({ path, version }) }