{"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.0","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.0","_npmVersion":"6.3.0","_nodeVersion":"10.0.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"dist":{"integrity":"sha512-WMsBhayErMFzT2Tl8pCafJAwRz5G/0qwjptjgdu5CKXbLOivPQJZoBhjvQmVe0CyQLu0mj4RPm7XPcAckKjnvg==","shasum":"00b308df5e2eb7a2e9262d9c9ad62838f7b42374","tarball":"http://registry-npm.ywwl.com/assign-symbols/download/assign-symbols-2.0.0.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\nwsFcBAEBCAAQBQJbaRwYCRA9TVsSAnZWagAAkSQP/jRZ70FZJOWO3tBvGDzY\n5Z1tFiotvrkb2zze/gh+Gl2R84MeaYyEBv5QXrKd3aOUXQbvjpNveQEDt7P3\narzf3mt9QmSqprHYO+BFSgsnp0R/CiHJiKQVRECAa92+6zCBqYpIwzL4Hpvt\nxTAgql5UxXjAif7JY0j8eov5g8gnBbVwz9Kn8ClhQ1McYZcjhP/fhrGv8DeT\ntSENH4rDxDTIjFL5fvzWOz7yzw2/kz5uplPWV0KZKMxnroKaMGAHOBiEwvm6\nKuKq3Q9Cb6oeTwrp86Ohkhy8VATqOuTL15FJjBG39rOgCT72PF/adQWfWKfR\nRfNTZ6jwgrOdlUDUdbqVCYwmbBrEBTAP1p8T156U+aijeGR30wPEtpk0nATC\npgJB4IUindtd+UYWA7idWidqJh+HG78F3Nm0W8T+RfdZuMiP/3d+9RbMCs6t\niJ0AridNXRdL4vv81gGpNVFPVIweDyCbGoUp313f+ah5VPhcWxSKNaS3Ljlx\nUv+NEePJ0/dpbrvlRIk4IMb6KrbG2jsIOYu0JbwLUJDsTzjJLAFUlN+IiQ1U\nZSzYuNdyGB8AMcAZFmi3njWEwD2zSFQIc/Z3FntJio6Pgd+hHjbhhrpCsMpq\npaXX5sHpSxccXspAvdhyt7IwXUnlbRlEt59OPap3REk+l3qx3xZouRDccGip\n/jnP\r\n=cZkM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDtjPQNGM6S91F1jL8QfIiqWd9iGS9pEhFfcddxzbVfjQIgIp0Dfst73HQktSyaF+XpA5Zww+fXuXffymjXhVtbibs="}],"size":3261,"noattachment":false,"key":"/assign-symbols/-/assign-symbols-2.0.0.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.0_1533615127563_0.36901657182503"},"_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":1533615127665,"_cnpm_publish_time":1533615127665,"dist-tags":{"latest":"2.0.2"}}