{"name":"assign-symbols","description":"Assign the enumerable es6 Symbol properties from one or more objects to the first object passed on the arguments. Can be used as a supplement to other extend, assign or merge methods as a polyfill for the Symbols part of the es6 Object.assign method.","version":"2.0.2","homepage":"https://github.com/jonschlinkert/assign-symbols","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/assign-symbols.git"},"bugs":{"url":"https://github.com/jonschlinkert/assign-symbols/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=6"},"scripts":{"test":"mocha"},"devDependencies":{"gulp-format-md":"^1.0.0","mocha":"^5.2.0"},"keywords":["assign","es6","merge","mixin","polyfill","primitive","symbol","symbols"],"verb":{"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["assign-deep","clone-deep","extend-shallow","merge-deep","mixin-deep"]},"lint":{"reflinks":true}},"gitHead":"026e7f6343eee45ec606d5a42291d1bf670ec802","_id":"assign-symbols@2.0.2","_npmVersion":"6.3.0","_nodeVersion":"10.0.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"dist":{"integrity":"sha512-9sBQUQZMKFKcO/C3Bo6Rx4CQany0R0UeVcefNGRRdW2vbmaMOhV1sbmlXcQLcD56juLXbSGTBm0GGuvmrAF8pA==","shasum":"0fb9191dd9d617042746ecfc354f3a3d768a0c98","tarball":"http://registry-npm.ywwl.com/assign-symbols/download/assign-symbols-2.0.2.tgz","fileCount":4,"unpackedSize":8443,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbabo5CRA9TVsSAnZWagAAVt4P/0bC3q9T5EEwVrlR+kPv\nYLZPgNVpYgIus3wLt9r7lvKjJIr0xp6lRzT1sCTSZl7Tmdx5q26sJ5jnm0Fs\nvRlIPk+dIFF4KD7ZHmxInwrfPHWynveH+gYm8bTWaONU2hO8eiqvRkJk5RlY\nnxsvJH4wd8xM3F0laq6BR98yiUx1YwIjdoWXh0tqiGmv3Wjf2sm8OJ1n5xie\nCWAV6DCxysr+AFcH1y91gUKOatHMgJWmwIwBtTwrQS6wxkmxJWEvi6d7SsgB\nKI3c/ynEFnedrfiKr1NsSrEK961Dmiz8kdAPqfR75JVWDmGvD2M3iU7OD/8l\nfnP8rlLQjLuPHwDx1vc60Rni0H8Cs/g9f16v2nhDzmL+JNqs0PLy3PMcyXuk\nfy3URUlQ6U1gyLTOTIVxZSHkwJ7divYQ86KAMQGbzNSopvtx3dcNwSj6Ijxw\n6JmbmXfEW/Txpz8RHJTU6sMBy3ocqe9Z9tBhXAdwqm3LVdn6EMqZEuMrYHd6\ni98lLK0tnlIuCdaB23IXpYfrtX8ePkEZEA9gFEd07AZEvgUYYtPcPZdh4SBI\nCIH+tLY0Mf+zpJrl2p3bzbrdbAjoBNffBUeGA/EgzAK0sCbo9kwynLpCCEFp\nEnb2eRI4OmOMtyCzAg5Aao7wDv54+VjkjeIlYKPRmUa5UwuUTHo7AeVq39JO\n9tEB\r\n=5jR7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHKGo5gsXDhmFLYApaKYAVDOYhZwVQYKDgrKSM9nBz3sAiEAkH6iVsbp/6xyhKYPk6q2ds8jRwXSPrfVc83Z8FKGHg4="}],"size":3267,"noattachment":false,"key":"/assign-symbols/-/assign-symbols-2.0.2.tgz"},"maintainers":[{"email":"github@sellside.com","name":"jonschlinkert"},{"email":"blaine.bublitz@gmail.com","name":"phated"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/assign-symbols_2.0.2_1533655598273_0.6467931863618057"},"_hasShrinkwrap":false,"readme":"# assign-symbols [![NPM version](https://img.shields.io/npm/v/assign-symbols.svg?style=flat)](https://www.npmjs.com/package/assign-symbols) [![NPM monthly downloads](https://img.shields.io/npm/dm/assign-symbols.svg?style=flat)](https://npmjs.org/package/assign-symbols) [![NPM total downloads](https://img.shields.io/npm/dt/assign-symbols.svg?style=flat)](https://npmjs.org/package/assign-symbols) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/assign-symbols.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/assign-symbols)\n\n> Assign the enumerable es6 Symbol properties from one or more objects to the first object passed on the arguments. Can be used as a supplement to other extend, assign or merge methods as a polyfill for the Symbols part of the es6 Object.assign method.\n\nPlease consider following this project's author, [Jon Schlinkert](https://github.com/jonschlinkert), and consider starring the project to show your :heart: and support.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save assign-symbols\n```\n\n## About\n\n> A symbol is a unique and immutable data type and may be used as an identifier for object properties. The symbol object is an implicit object wrapper for the symbol primitive data type. - [Mozilla Developer docs for Symbol](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol)\n\n## Usage\n\n```js\nconst assignSymbols = require('assign-symbols');\nlet target = {};\n\n// add a symbol to object \"one\"\nlet one = {};\nlet symbolOne = Symbol('aaa');\none[symbolOne] = 'bbb';\n\n// add a symbol to object \"two\"\nlet two = {};\nlet symbolTwo = Symbol('ccc');\ntwo[symbolTwo] = 'ddd';\n\n// assign symbols from objects \"one\" and \"two\" to object \"target\"\nassignSymbols(target, one, two);\n\nconsole.log(target[symbolOne]); //=> 'bbb'\nconsole.log(target[symbolTwo]); //=> 'ddd'\n```\n\n## About\n\n<details>\n<summary><strong>Contributing</strong></summary>\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n</details>\n\n<details>\n<summary><strong>Running Tests</strong></summary>\n\nRunning and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:\n\n```sh\n$ npm install && npm test\n```\n\n</details>\n\n<details>\n<summary><strong>Building docs</strong></summary>\n\n_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_\n\nTo generate the readme, run the following command:\n\n```sh\n$ npm install -g verbose/verb#dev verb-generate-readme && verb\n```\n\n</details>\n\n### Related projects\n\nYou might also be interested in these projects:\n\n* [assign-deep](https://www.npmjs.com/package/assign-deep): Deeply assign the enumerable properties and/or es6 Symbol properies of source objects to the target… [more](https://github.com/jonschlinkert/assign-deep) | [homepage](https://github.com/jonschlinkert/assign-deep \"Deeply assign the enumerable properties and/or es6 Symbol properies of source objects to the target (first) object.\")\n* [clone-deep](https://www.npmjs.com/package/clone-deep): Recursively (deep) clone JavaScript native types, like Object, Array, RegExp, Date as well as primitives. | [homepage](https://github.com/jonschlinkert/clone-deep \"Recursively (deep) clone JavaScript native types, like Object, Array, RegExp, Date as well as primitives.\")\n* [extend-shallow](https://www.npmjs.com/package/extend-shallow): Extend an object with the properties of additional objects. node.js/javascript util. | [homepage](https://github.com/jonschlinkert/extend-shallow \"Extend an object with the properties of additional objects. node.js/javascript util.\")\n* [merge-deep](https://www.npmjs.com/package/merge-deep): Recursively merge values in a javascript object. | [homepage](https://github.com/jonschlinkert/merge-deep \"Recursively merge values in a javascript object.\")\n* [mixin-deep](https://www.npmjs.com/package/mixin-deep): Deeply mix the properties of objects into the first object. Like merge-deep, but doesn't clone… [more](https://github.com/jonschlinkert/mixin-deep) | [homepage](https://github.com/jonschlinkert/mixin-deep \"Deeply mix the properties of objects into the first object. Like merge-deep, but doesn't clone. No dependencies.\")\n\n### Contributors\n\n| **Commits** | **Contributor** | \n| --- | --- |\n| 4 | [jonschlinkert](https://github.com/jonschlinkert) |\n| 2 | [phated](https://github.com/phated) |\n\n### Author\n\n**Jon Schlinkert**\n\n* [LinkedIn Profile](https://linkedin.com/in/jonschlinkert)\n* [GitHub Profile](https://github.com/jonschlinkert)\n* [Twitter Profile](https://twitter.com/jonschlinkert)\n\n### License\n\nCopyright © 2018, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT License](LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on August 06, 2018._","publish_time":1533655598594,"_cnpm_publish_time":1533655598594,"dist-tags":{"latest":"2.0.2"}}