UNPKG

@jkcfg/std

Version:

jk standard library

7 lines (6 loc) 193 B
import transform from '@jkcfg/std/cmd/transform'; import fn from '%s'; if (typeof fn !== 'function') { throw new Error('default export of given module is not a function'); } transform(fn);