MCPcopy
hub / github.com/node-formidable/formidable / use

Method use

src/Formidable.js:142–151  ·  view source on GitHub ↗
(plugin)

Source from the content-addressed store, hash-verified

140 }
141
142 use(plugin) {
143 if (typeof plugin !== 'function') {
144 throw new FormidableError(
145 '.use: expect `plugin` to be a function',
146 errors.pluginFunction,
147 );
148 }
149 this._plugins.push(plugin.bind(this));
150 return this;
151 }
152
153 pause () {
154 try {

Callers 4

constructorMethod · 0.95
createServerFunction · 0.80
with-koa2.jsFile · 0.80

Calls

no outgoing calls

Tested by 1

createServerFunction · 0.64