UNPKG

318 BJavaScriptView Raw
1"use strict";
2
3const hook = require("./hook");
4
5const {
6 LocalClient
7} = require("./worker-client");
8
9const client = new LocalClient();
10
11function register(opts = {}) {
12 return hook.register(client, Object.assign({}, opts));
13}
14
15module.exports = Object.assign(register, {
16 revert: hook.revert,
17 default: register
18});
\No newline at end of file