{"_id":"o.extend","_rev":"12-7894e5c549ff957ad136dcb1c9383925","name":"o.extend","description":"Object.extend() which works well with ES5 getters and setters","dist-tags":{"latest":"1.0.1"},"versions":{"0.1.0":{"name":"o.extend","description":"Object.extend() which works well with ES5 getters and setters","url":"https://github.com/capaj/o.extend","keywords":["getter","setter","ES5","extend","Object extend"],"author":{"name":"Jiří Špác","email":"capajj@gmail.com"},"main":"./o.extend.js","repository":{"type":"git","url":"git://github.com/capaj/o.extend.git"},"devDependencies":{"nodeunit":"~0.9"},"version":"0.1.0","license":"MIT","engines":{"node":"*"},"gitHead":"254c2caec06399ca0c747e5cf2e28297a7d9ca25","bugs":{"url":"https://github.com/capaj/o.extend/issues"},"homepage":"https://github.com/capaj/o.extend","_id":"o.extend@0.1.0","scripts":{},"_shasum":"3eef5747c7b0fd5b922058c71453fc104c5df286","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"capaj","email":"capajj@gmail.com"},"maintainers":[{"name":"capaj","email":"capajj@gmail.com"}],"dist":{"shasum":"3eef5747c7b0fd5b922058c71453fc104c5df286","tarball":"https://registry.npmjs.org/o.extend/-/o.extend-0.1.0.tgz","integrity":"sha512-ksxSXEYBPtlluxm3vBYtqSLwMs1s+A/2wnrx1i3bUR7apIYcmccCrXuw7VBKrQ5TFO9n1RTNfLJJfrLvsjM8Qw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCeXsG2Pg9M3F1Q2UtJA3w75GXiPpzEACMCzlUkijVxBwIgcopB6kRlp0EcPRrF2pw8wbbCs4KoYs69GAlkAlthMpc="}]}},"0.3.0":{"name":"o.extend","description":"Object.extend() which works well with ES5 getters and setters","url":"https://github.com/capaj/o.extend","keywords":["getter","setter","ES5","extend","Object extend"],"author":{"name":"Jiří Špác","email":"capajj@gmail.com"},"main":"./o.extend.js","repository":{"type":"git","url":"git://github.com/capaj/o.extend.git"},"devDependencies":{"nodeunit":"~0.9"},"version":"0.3.0","license":"MIT","engines":{"node":"*"},"gitHead":"c1647a74217cb88f705ba0d733acec85f5b97024","bugs":{"url":"https://github.com/capaj/o.extend/issues"},"homepage":"https://github.com/capaj/o.extend","_id":"o.extend@0.3.0","scripts":{},"_shasum":"5fcebcd4ddc2af89d26d6f92c55c5c31deb745b4","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"capaj","email":"capajj@gmail.com"},"maintainers":[{"name":"capaj","email":"capajj@gmail.com"}],"dist":{"shasum":"5fcebcd4ddc2af89d26d6f92c55c5c31deb745b4","tarball":"https://registry.npmjs.org/o.extend/-/o.extend-0.3.0.tgz","integrity":"sha512-J5mToUxaQJLJVN+fGUO1xQnFLvrrAGTO4/sfownuzcKCPfkPw1QSdaAXg96iotI02DlqN+CHQa1woRtNgE9iIg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDWGQlXsPxVavyKin/2a6geiBu8nObdAg6qbMDioLgqWAiBeo6M3M8tYSJOUWbbzhFKUAKHsjH3t3Wee7EmCC4SqyA=="}]}},"0.4.0":{"name":"o.extend","description":"Object.extend() which works well with ES5 getters and setters","url":"https://github.com/capaj/o.extend","keywords":["getter","setter","ES5","extend","Object extend"],"author":{"name":"Jiří Špác","email":"capajj@gmail.com"},"main":"./o.extend.js","repository":{"type":"git","url":"git://github.com/capaj/o.extend.git"},"devDependencies":{"nodeunit":"~0.9"},"version":"0.4.0","license":"MIT","engines":{"node":"*"},"gitHead":"b745166b098601489733b5cd3d39819afeda4d2e","bugs":{"url":"https://github.com/capaj/o.extend/issues"},"homepage":"https://github.com/capaj/o.extend","_id":"o.extend@0.4.0","scripts":{},"_shasum":"24160a04ae5cb61d2bf22fbac47153af008dd1f7","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"capaj","email":"capajj@gmail.com"},"maintainers":[{"name":"capaj","email":"capajj@gmail.com"}],"dist":{"shasum":"24160a04ae5cb61d2bf22fbac47153af008dd1f7","tarball":"https://registry.npmjs.org/o.extend/-/o.extend-0.4.0.tgz","integrity":"sha512-0xWnQwyznOT/4ciA/ICieRnw7h68exxU1USxDvIodSVqjerAbv8mlPj3W4hDufXBnEcMAF1I5RdWx6FWPUE2pQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCEf25AJd7MPoaXCdHofqjGL1oZ9U/RDCsXldR8zrz2dgIhALIUCy735lGCwU2Z533TEPq4LnhIwMaAit1SAuibZMwH"}]}},"0.5.0":{"name":"o.extend","description":"Object.extend() which works well with ES5 getters and setters","url":"https://github.com/capaj/o.extend","keywords":["getter","setter","ES5","extend","Object extend"],"author":{"name":"Jiří Špác","email":"capajj@gmail.com"},"main":"./o.extend.js","repository":{"type":"git","url":"git://github.com/capaj/o.extend.git"},"devDependencies":{"nodeunit":"~0.9"},"version":"0.5.0","license":"MIT","engines":{"node":"*"},"gitHead":"42c1e3d4c6fbb100efbea46dd4b3310af36cd039","bugs":{"url":"https://github.com/capaj/o.extend/issues"},"homepage":"https://github.com/capaj/o.extend","_id":"o.extend@0.5.0","scripts":{},"_shasum":"710d14c50f7f735cc239d25c52725ee6073fda9a","_from":".","_npmVersion":"2.1.12","_nodeVersion":"0.10.33","_npmUser":{"name":"capaj","email":"capajj@gmail.com"},"maintainers":[{"name":"capaj","email":"capajj@gmail.com"}],"dist":{"shasum":"710d14c50f7f735cc239d25c52725ee6073fda9a","tarball":"https://registry.npmjs.org/o.extend/-/o.extend-0.5.0.tgz","integrity":"sha512-o4tPUpOUH4GYAEdnCwJ7k08PeOH0UNDw6GMVYm6M+lAoA5hggG5ipYZDUk49TEpb0KtHPK5ou50C4A0gBa917w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDDOH0JRX3srPfBQh3NnG6MQ428Pk44jt3erV4B6HtbUAIhAKJOt7SwBe+gOEN9+EK3wEE7hQ/wDnI/NyIztvSRR729"}]}},"1.0.0":{"name":"o.extend","description":"Object.extend() which works well with ES5 getters and setters","url":"https://github.com/capaj/o.extend","keywords":["getter","setter","ES5","extend","Object extend"],"author":{"name":"Jiří Špác","email":"capajj@gmail.com"},"main":"./o.extend.js","repository":{"type":"git","url":"git://github.com/capaj/o.extend.git"},"devDependencies":{"nodeunit":"~0.9"},"version":"1.0.0","license":"MIT","engines":{"node":"*"},"gitHead":"16c3f3106adbc505d00f1a5f713a9b7a102b76ec","bugs":{"url":"https://github.com/capaj/o.extend/issues"},"homepage":"https://github.com/capaj/o.extend#readme","_id":"o.extend@1.0.0","scripts":{},"_shasum":"04602690de3b63e98ae43e346cfb852f999d32cd","_from":".","_npmVersion":"2.11.0","_nodeVersion":"2.2.0","_npmUser":{"name":"capaj","email":"capajj@gmail.com"},"maintainers":[{"name":"capaj","email":"capajj@gmail.com"}],"dist":{"shasum":"04602690de3b63e98ae43e346cfb852f999d32cd","tarball":"https://registry.npmjs.org/o.extend/-/o.extend-1.0.0.tgz","integrity":"sha512-df45YxvFcSLi5WYCsX2uQcPg0m4krUijaUwkvQL5SPL+Pa1OGi+DU1m2VWwWnVAPHTN16ZM7q8HV2RNNTYfNNA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBLFHFF+60vz8Ktgo5Pcg6J2gmRo0vjZkjpJJPUGIUu5AiB19Xb8PKYCvv1RaKnGFfl61ocLufFq+FSGgU3l61e2Qw=="}]}},"1.0.1":{"name":"o.extend","description":"Object.extend() which works well with ES5 getters and setters","url":"https://github.com/capaj/o.extend","keywords":["getter","setter","ES5","extend","Object extend"],"author":{"name":"Jiří Špác","email":"capajj@gmail.com"},"main":"./o.extend.js","repository":{"type":"git","url":"git://github.com/capaj/o.extend.git"},"scripts":{"test":"nodeunit test.js"},"devDependencies":{"nodeunit":"~0.9"},"version":"1.0.1","license":"MIT","engines":{"node":"*"},"gitHead":"fdbf1d135d570244b9f76506d4064968d4622397","bugs":{"url":"https://github.com/capaj/o.extend/issues"},"homepage":"https://github.com/capaj/o.extend#readme","_id":"o.extend@1.0.1","_shasum":"c74a27b5faf1ec8f80cb6418220d9b97c19461e0","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.5.0","_npmUser":{"name":"capaj","email":"capajj@gmail.com"},"dist":{"shasum":"c74a27b5faf1ec8f80cb6418220d9b97c19461e0","tarball":"https://registry.npmjs.org/o.extend/-/o.extend-1.0.1.tgz","integrity":"sha512-06UL9+tVoY/AVPRmxrhzonQjblNu9OkEernOJrS/Ta9YsF0KsZ9aqC95jVAKfYIrgCJjQqS/3ghRQOqvj8Hd9g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCSOQibcyyNGtmxtY+kdOEaPMIYqE6aSO5NnRimJzSo6gIgVDpC8HIN5vyurZ7SR+NkMSpemgZCZdfegJupcHoKR1Y="}]},"maintainers":[{"name":"capaj","email":"capajj@gmail.com"}]}},"readme":"o.extend\n====================\n\nObject.prototype.extend() for node.js and the browser. ES5 compatible. ES5 incompatible enviroments are not supported(IE8 and less).\nHas also a method Object.prototype.copyOwnProperties() which is much much simpler and faster.\n#Usage\n    \n    var extended = Object.extend({b:1}, {a:2});\n    //extended === {a:2, b:1}\n    var extended = Object.copyOwnProperties({b:1}, {a:2});\n    //extended === {a:2, b:1}\n    \nFor usage examples, take a look at unit tests: https://github.com/capaj/o.extend/blob/master/test.js\n\nAvailable via jspm/bower:\n    \n    jspm install github:capaj/o.extend\n    bower install o.extend\n  \nor npm:\n\n    npm install o.extend\n\n##Why use this and not other implementations? \nBecause this is only extend which can properly merge ES5 property descriptors, which means that if you merge object a with a setter and object b with getter on same property, result will have both getter and setter on that property.\nSo you don't lose any of your property descriptors when extending your objects.\n\n\nAlso you won't lose a setter when object which is extending base has a value. In that case the setter is not replaced, but instead it is called with the value as you would probably expect.\n\n","maintainers":[{"name":"capaj","email":"capajj@gmail.com"}],"time":{"modified":"2022-06-22T15:09:49.966Z","created":"2014-07-31T10:43:38.293Z","0.1.0":"2014-07-31T10:43:38.293Z","0.3.0":"2014-07-31T11:56:07.974Z","0.4.0":"2014-12-16T00:27:25.048Z","0.5.0":"2014-12-16T13:06:04.162Z","1.0.0":"2015-05-31T15:56:44.484Z","1.0.1":"2016-01-26T02:01:13.075Z"},"homepage":"https://github.com/capaj/o.extend#readme","keywords":["getter","setter","ES5","extend","Object extend"],"repository":{"type":"git","url":"git://github.com/capaj/o.extend.git"},"author":{"name":"Jiří Špác","email":"capajj@gmail.com"},"bugs":{"url":"https://github.com/capaj/o.extend/issues"},"license":"MIT","readmeFilename":"README.md"}