wrap-defaults (npm): Generate a function that checks an object for missing properties and fills it with the given default values. The generated function returns the filled object.
Keywords: javascript