UNPKG

better-npm-init

Version:

A better version of npm init, with templates and more. Usage: better-npm-init <template> [--yarn] [--install] [--git] [--yes] [--help]

6 lines 259 B
import { reduce } from './reduce'; import { isFunction } from '../util/isFunction'; export function max(comparer) { return reduce(isFunction(comparer) ? (x, y) => (comparer(x, y) > 0 ? x : y) : (x, y) => (x > y ? x : y)); } //# sourceMappingURL=max.js.map