function uninstall(deps, options = {}, exec) {
	deps = _.castArray(deps);
	const dev = options.dev !== false;
	const run = getRunFunction(options);

	const installed = getOwnDependencies({ dev });

	const newDeps = deps.filter(dep => installed[dep]);

	if (newDeps.length === 0) {
		return;
	}

	log.info(`Uninstalling ${listify(newDeps)}...`);

	// eslint-disable-next-line consistent-return
	return run(newDeps, { remove: true, dev }, exec);
}
Uninstall given npm packages
@param {string[] | string} deps
@param {Options} [options]
@param {Function} exec