Removed junk test code
Exported class
Added lodash
Renamed propList to this._propList
Some of this._checkRequired’s code was moved to this._isPropEmpty
Added this.toJSON() function
Added a “complete” option to include empty properties
Fixed type checking and fallback values