Skip to content

Deep assign to target from source, also performs distinct concat

License

Notifications You must be signed in to change notification settings

ready-research/join-assign

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

code style downloads license npm version

join-assign

Deep assign to target from source, also performs distinct concat.

Usage

const join = require("join-assign");

const source = {
  letters: [
    "c",
    "d"
  ]
};

const target = {
  letters: [
    "a",
    "b"
  ]
};

join.assign(target, source);

const a = [1, 2, 3, 4, 5];
const b = [4, 5, 6, 7, 8];

join.concat(a, b);

About

Deep assign to target from source, also performs distinct concat

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%