All Projects → unclechu → Node Deep Extend

unclechu / Node Deep Extend

Licence: mit
Recursive extend module

Programming Languages

javascript
184084 projects - #8 most used programming language
ecmascript
72 projects

Projects that are alternatives of or similar to Node Deep Extend

Vieb
Vim Inspired Electron Browser - Vim bindings for the web by design
Stars: ✭ 175 (-8.38%)
Mutual labels:  browser
Gopassbridge
A web extension for firefox and chrome to insert login credentials from gopass
Stars: ✭ 182 (-4.71%)
Mutual labels:  browser
Fingerprintjs
Browser fingerprinting library with the highest accuracy and stability.
Stars: ✭ 15,481 (+8005.24%)
Mutual labels:  browser
Badssl.com
🔒 Memorable site for testing clients against bad SSL configs.
Stars: ✭ 2,234 (+1069.63%)
Mutual labels:  browser
Hxphotopicker
图片/视频选择器 - 支持LivePhoto、GIF图片选择、3DTouch预览、在线下载iCloud上的资源、编辑图片/视频、浏览网络图片 功能 Imitation wx photo/image picker - support for LivePhoto, GIF image selection, 3DTouch preview, Download the resources on iCloud online, browse the web image function
Stars: ✭ 2,363 (+1137.17%)
Mutual labels:  browser
Browser
🌍 Cross-platform Material design web browser
Stars: ✭ 184 (-3.66%)
Mutual labels:  browser
Browser Hack Sass Mixins
Browser hack sass mixin - Apply your SCSS to a specific browser - CSS hacks for: IE, Chrome, Firefox, Edge, Opera
Stars: ✭ 170 (-10.99%)
Mutual labels:  browser
Arewedistributedyet
Website + Community effort to unlock the peer-to-peer web at arewedistributedyet.com ⚡🌐🔑
Stars: ✭ 189 (-1.05%)
Mutual labels:  browser
Render Media
Intelligently render media files in the browser
Stars: ✭ 181 (-5.24%)
Mutual labels:  browser
Atgmediabrowser
Image slide-show viewer with multiple predefined transition styles, with ability to create new transitions with ease.
Stars: ✭ 186 (-2.62%)
Mutual labels:  browser
Blocklike
Bridging the gap between block programming and JavaScript.
Stars: ✭ 177 (-7.33%)
Mutual labels:  browser
Datash
Send and Receive files directly from your browser with end-to-end encryption
Stars: ✭ 178 (-6.81%)
Mutual labels:  browser
Lantern
基于Swift的高可用视图框架
Stars: ✭ 181 (-5.24%)
Mutual labels:  browser
Browser Interaction Time
⏰ A JavaScript library (written in TypeScript) to measure the time a user is active on a website
Stars: ✭ 175 (-8.38%)
Mutual labels:  browser
Zl Fetch
A library that makes the Fetch API a breeze
Stars: ✭ 186 (-2.62%)
Mutual labels:  browser
Slugify
Slugify a string
Stars: ✭ 2,110 (+1004.71%)
Mutual labels:  browser
Magnet Uri
Parse a magnet URI and return an object of keys/values
Stars: ✭ 183 (-4.19%)
Mutual labels:  browser
Speechtotext Websockets Javascript
SDK & Sample to do speech recognition using websockets in Javascript
Stars: ✭ 191 (+0%)
Mutual labels:  browser
Yuzubrowser
Customizable browser for android
Stars: ✭ 188 (-1.57%)
Mutual labels:  browser
Node Webkitgtk
webkitgtk bindings for 🚀 Node.js
Stars: ✭ 185 (-3.14%)
Mutual labels:  browser

Deep Extend

Recursive object extending.

Build Status

NPM

Install

$ npm install deep-extend

Usage

var deepExtend = require('deep-extend');
var obj1 = {
  a: 1,
  b: 2,
  d: {
    a: 1,
    b: [],
    c: { test1: 123, test2: 321 }
  },
  f: 5,
  g: 123,
  i: 321,
  j: [1, 2]
};
var obj2 = {
  b: 3,
  c: 5,
  d: {
    b: { first: 'one', second: 'two' },
    c: { test2: 222 }
  },
  e: { one: 1, two: 2 },
  f: [],
  g: (void 0),
  h: /abc/g,
  i: null,
  j: [3, 4]
};

deepExtend(obj1, obj2);

console.log(obj1);
/*
{ a: 1,
  b: 3,
  d:
   { a: 1,
     b: { first: 'one', second: 'two' },
     c: { test1: 123, test2: 222 } },
  f: [],
  g: undefined,
  c: 5,
  e: { one: 1, two: 2 },
  h: /abc/g,
  i: null,
  j: [3, 4] }
*/

Unit testing

$ npm test

Changelog

CHANGELOG.md

Any issues?

Please, report about issues here.

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].