UNPKG

@scalar/api-client

Version:

the open source API testing client

12 lines (11 loc) 177 B
const i = async (a, e, n) => { let o = a; for (const c of n) { const t = c.hooks?.[e]; t && (o = await t(o) ?? o); } return o; }; export { i as executeHook };