deep extend (like jQuery’s) for nodeJS

It’s already been ported. node-extend

Note the project doesn’t have tests and doesn’t have much popularity, so use at your own risk.

As mentioned you probably don’t need deep copies. Try to change your data structures so you only need shallow copies.

Few months later

I wrote a smaller module instead, recommend you use xtend. It’s not got an implementation containing jQuery baggage nor does it have bugs like node-extend does.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)