pnpm
Version:
Fast, disk space efficient package manager
113 lines (112 loc) • 5.82 kB
JSON
{
"_args": [
[
{
"raw": "assign-symbols@^1.0.0",
"scope": null,
"escapedName": "assign-symbols",
"name": "assign-symbols",
"rawSpec": "^1.0.0",
"spec": ">=1.0.0 <2.0.0",
"type": "range"
},
"/home/zoltan/src/pnpm/pnpm/packages/pnpm/node_modules/extend-shallow"
]
],
"_from": "assign-symbols@>=1.0.0 <2.0.0",
"_id": "assign-symbols@1.0.0",
"_inCache": true,
"_location": "/assign-symbols",
"_nodeVersion": "0.12.18",
"_npmOperationalInternal": {
"host": "s3://npm-registry-packages",
"tmp": "tmp/assign-symbols-1.0.0.tgz_1513723533378_0.7385613690130413"
},
"_npmUser": {
"name": "phated",
"email": "blaine.bublitz@gmail.com"
},
"_npmVersion": "2.15.11",
"_phantomChildren": {},
"_requested": {
"raw": "assign-symbols@^1.0.0",
"scope": null,
"escapedName": "assign-symbols",
"name": "assign-symbols",
"rawSpec": "^1.0.0",
"spec": ">=1.0.0 <2.0.0",
"type": "range"
},
"_requiredBy": [
"/extend-shallow"
],
"_resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz",
"_shasum": "59667f41fadd4f20ccbc2bb96b8d4f7f78ec0367",
"_shrinkwrap": null,
"_spec": "assign-symbols@^1.0.0",
"_where": "/home/zoltan/src/pnpm/pnpm/packages/pnpm/node_modules/extend-shallow",
"author": {
"name": "Jon Schlinkert",
"url": "https://github.com/jonschlinkert"
},
"bugs": {
"url": "https://github.com/jonschlinkert/assign-symbols/issues"
},
"dependencies": {},
"description": "Assign the enumerable es6 Symbol properties from an object (or 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.",
"devDependencies": {
"mocha": "^3.0.0"
},
"directories": {},
"dist": {
"shasum": "59667f41fadd4f20ccbc2bb96b8d4f7f78ec0367",
"tarball": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz"
},
"engines": {
"node": ">=0.10.0"
},
"files": [
"index.js"
],
"gitHead": "2df01f26fce8359fa75688eb89e2a1c65de6f237",
"homepage": "https://github.com/jonschlinkert/assign-symbols",
"keywords": [
"assign",
"symbols"
],
"license": "MIT",
"main": "index.js",
"maintainers": [
{
"name": "phated",
"email": "blaine.bublitz@gmail.com"
},
{
"name": "jonschlinkert",
"email": "github@sellside.com"
}
],
"name": "assign-symbols",
"optionalDependencies": {},
"readme": "# assign-symbols [](http://badge.fury.io/js/assign-symbols)\n\n> Assign the enumerable es6 Symbol properties from an object (or 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\nFrom the [Mozilla Developer docs for Symbol](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol):\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.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/)\n\n```sh\n$ npm i assign-symbols --save\n```\n\n## Usage\n\n```js\nvar assignSymbols = require('assign-symbols');\nvar obj = {};\n\nvar one = {};\nvar symbolOne = Symbol('aaa');\none[symbolOne] = 'bbb';\n\nvar two = {};\nvar symbolTwo = Symbol('ccc');\ntwo[symbolTwo] = 'ddd';\n\nassignSymbols(obj, one, two);\n\nconsole.log(obj[symbolOne]);\n//=> 'bbb'\nconsole.log(obj[symbolTwo]);\n//=> 'ddd'\n```\n\n## Similar projects\n\n* [assign-deep](https://www.npmjs.com/package/assign-deep): Deeply assign the enumerable properties of source objects to a destination object. | [homepage](https://github.com/jonschlinkert/assign-deep)\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)\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)\n* [merge-deep](https://www.npmjs.com/package/merge-deep): Recursively merge values in a javascript object. | [homepage](https://github.com/jonschlinkert/merge-deep)\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. | [homepage](https://github.com/jonschlinkert/mixin-deep)\n\n## Running tests\n\nInstall dev dependencies:\n\n```sh\n$ npm i -d && npm test\n```\n\n## Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/assign-symbols/issues/new).\n\n## Author\n\n**Jon Schlinkert**\n\n+ [github/jonschlinkert](https://github.com/jonschlinkert)\n+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)\n\n## License\n\nCopyright © 2015 Jon Schlinkert\nReleased under the MIT license.\n\n***\n\n_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on November 06, 2015._",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git+https://github.com/jonschlinkert/assign-symbols.git"
},
"scripts": {
"test": "mocha"
},
"verb": {
"related": {
"list": [
"assign-deep",
"mixin-deep",
"merge-deep",
"extend-shallow",
"clone-deep"
]
}
},
"version": "1.0.0"
}