{"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.1","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":">=4.0"},"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":"1429f75d37e3d4d3b6aff684350332fb77621d26","_id":"assign-symbols@2.0.1","_npmVersion":"6.3.0","_nodeVersion":"10.0.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"dist":{"integrity":"sha512-uh09B7h3U6d/uGzJfg0m+LzAEb9sqmTaWhmWNcSF+XbwtovzMoLEJohlEI9405lssJ5t3FyLs9HPL4ed67USbQ==","shasum":"ef45aabe7c80db94660252a4a529e9d6791081ec","tarball":"http://registry-npm.ywwl.com/assign-symbols/download/assign-symbols-2.0.1.tgz","fileCount":4,"unpackedSize":8423,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbaR6ACRA9TVsSAnZWagAA4wQQAIwgQrcfMWm+IQdHpufA\n+0vezZrTOKF4D0og8/Tkm+Ne5TjX80PdBR2WuxrL3XGBSAl5DoZ/f0jXh/l4\nYvPwXVKyNl6Mp7hDOHUh6sm6/jpHsmGZqcN2tkAwJ/WKA4KTaLoUCCtaZri9\nT1DeepgwPmgQ2bhn+G/ZcBG05U+mmSYfGGMJqWm61ZIwTSddd0fbCw8WHta9\nA0kvO1Esyy5oqtUt2e4b8FxA7biE/52xvt+IvWCKdQX1ouXgvHtZFm3l4gE2\n8vJqLFYXgqDtsuEDlnephciLZuegNPCiBTzK6bAMEBC1NgcH3XzroHWxxuXw\nFjAmu7ObUSdrQ1p+D7vXEFfCei3iv4O5BvktiQAafSryhQ/bnBgjGOki25wq\neeiM/E3FkSzS9kGU+9oL8Gc30VcANQrmvDKLnQWnBudkg6BT2PlPtFzlEj26\naOjWtbKXdPBw3fptJn+R58yfe96UP4od8y804XyVUMoXYiM/OzV7zyDEiDZZ\nC6RExLB+0RB1rs7FfID3ay2OiGCBiO/xa2AIuq4uvylYeCxeLpIENZVdgNuQ\n5ZNhtfkobPAQyvw4ffd0awrZv8XTvkYejbaDPWVMyIs47ZW6xjtX3oIhQlJv\nj55hcZAXpch4giYsmah4ZI2EOUhIZgSIxlrZCCsKSdXzNcxZKkSb4pFAfHmA\nUNWe\r\n=WBpl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFB0InV+LvH77aio7hXx6RNPARUs0IGVTZRbVPna6VRqAiEArMnv1z3ihwVlaCitwE+MeWQmDpTgsvbVuv3KRW1ywV8="}],"size":3263,"noattachment":false,"key":"/assign-symbols/-/assign-symbols-2.0.1.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.1_1533615743929_0.31101681959925465"},"_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":1533615743999,"_cnpm_publish_time":1533615743999,"dist-tags":{"latest":"2.0.2"}}