JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2285219
  • Score
    100M100P100Q190586F

Add the properties from any number of objects into the first object. To create a new object pass an empty object as the first arg.

Package Exports

  • mixin-object

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (mixin-object) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

mixin-object NPM version

Add the properties from any number of objects into the first object. To create a new object pass an empty object as the first arg.

Install

Install with npm:

npm i mixin-object --save-dev

Run tests

npm test

Usage

var mixin = require('mixin-object');

var o = {c: 'c'};
mixin({}, {a: 'a'}, {b: 'b'});
//=> {a: 'a', b: 'b'}

mixin({}, {a: 'a'}, {b: 'b'});
//=> {a: 'a', b: 'b'}

Author

Jon Schlinkert

License

Copyright (c) 2014 Jon Schlinkert, contributors.
Released under the MIT license


This file was generated by verb-cli on September 22, 2014.