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]

8 lines (6 loc) 162 B
module.exports = hasKeys function hasKeys(source) { return source !== null && (typeof source === "object" || typeof source === "function") }