UNPKG

hins

Version:

[![codecov](https://codecov.io/gh/l-zoy/hins/branch/main/graph/badge.svg)](https://codecov.io/gh/l-zoy/hins) [![GitHub license](https://img.shields.io/github/license/l-zoy/hins)](https://github.com/l-zoy/hins/blob/master/LICENSE) ![node-current](https://i

18 lines (17 loc) 447 B
import type { IResolvePlugins } from './types'; /** * @desc Get the execution function of the plug-in, add path as the unique key value * @param { string } path string */ export declare function pathToRegister(path: string): { path: string; apply(): any; }; /** * @desc Get all plugins * @param { object } options object */ export default function resolvePlugins(options: IResolvePlugins): { path: string; apply(): any; }[];