Native object extension goodies.
Want to see pretty graphs? Log in now!
npm install goodies
|5||downloads in the last month|
|Last Published By|
|Version||0.1.2 last updated 2 years ago|
|Keywords||goodies, merge, unique, unixtime|
Returns a new object that is created from the calling object, and the object passed in. If both objects have the same property, the property from the object being passed wins, unless both properties are type object, in which case that object is recursively merged.
This method only works on sorted arrays. It removes duplicate properties on the array. Works in place.
Returns the unix time of the date (seconds since Jan 1, 1970).
Sets the date based on the unix time passed in.