UNPKG

layaair2-cmd

Version:

layaair version 2 toolkit

144 lines (143 loc) 6.96 kB
{ "_args": [ [ { "raw": "object.map@^1.0.0", "scope": null, "escapedName": "object.map", "name": "object.map", "rawSpec": "^1.0.0", "spec": ">=1.0.0 <2.0.0", "type": "range" }, "E:\\Mine\\Project\\git\\laya\\dawawa\\layaairdoc_cmd\\node_modules\\liftoff" ] ], "_from": "object.map@>=1.0.0 <2.0.0", "_id": "object.map@1.0.1", "_inCache": true, "_location": "/object.map", "_nodeVersion": "0.10.48", "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/object.map-1.0.1.tgz_1513881865318_0.47494188440032303" }, "_npmUser": { "name": "phated", "email": "blaine.bublitz@gmail.com" }, "_npmVersion": "2.15.1", "_phantomChildren": {}, "_requested": { "raw": "object.map@^1.0.0", "scope": null, "escapedName": "object.map", "name": "object.map", "rawSpec": "^1.0.0", "spec": ">=1.0.0 <2.0.0", "type": "range" }, "_requiredBy": [ "/liftoff" ], "_resolved": "https://registry.npmjs.org/object.map/-/object.map-1.0.1.tgz", "_shasum": "cf83e59dc8fcc0ad5f4250e1f78b3b81bd801d37", "_shrinkwrap": null, "_spec": "object.map@^1.0.0", "_where": "E:\\Mine\\Project\\git\\laya\\dawawa\\layaairdoc_cmd\\node_modules\\liftoff", "author": { "name": "Jon Schlinkert", "url": "https://github.com/jonschlinkert" }, "bugs": { "url": "https://github.com/jonschlinkert/object.map/issues" }, "contributors": [ { "name": "Blaine Bublitz", "url": "https://twitter.com/BlaineBublitz" }, { "name": "Brian Woodward", "url": "https://twitter.com/doowb" }, { "name": "Jon Schlinkert", "url": "http://twitter.com/jonschlinkert" } ], "dependencies": { "for-own": "^1.0.0", "make-iterator": "^1.0.0" }, "description": "Similar to map for arrays, this creates a new object by calling the callback on each property of the original object.", "devDependencies": { "gulp-format-md": "^0.1.11", "mocha": "^3.2.0" }, "directories": {}, "dist": { "shasum": "cf83e59dc8fcc0ad5f4250e1f78b3b81bd801d37", "tarball": "https://registry.npmjs.org/object.map/-/object.map-1.0.1.tgz" }, "engines": { "node": ">=0.10.0" }, "files": [ "index.js" ], "gitHead": "10c1cd70264a65adcbce14ca0f6b718d448e055a", "homepage": "https://github.com/jonschlinkert/object.map", "keywords": [ "map", "object" ], "license": "MIT", "main": "index.js", "maintainers": [ { "name": "doowb", "email": "brian.woodward@gmail.com" }, { "name": "phated", "email": "blaine.bublitz@gmail.com" }, { "name": "jonschlinkert", "email": "github@sellside.com" } ], "name": "object.map", "optionalDependencies": {}, "readme": "# object.map [![NPM version](https://img.shields.io/npm/v/object.map.svg?style=flat)](https://www.npmjs.com/package/object.map) [![NPM monthly downloads](https://img.shields.io/npm/dm/object.map.svg?style=flat)](https://npmjs.org/package/object.map) [![NPM total downloads](https://img.shields.io/npm/dt/object.map.svg?style=flat)](https://npmjs.org/package/object.map) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/object.map.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/object.map) [![Windows Build Status](https://img.shields.io/appveyor/ci/jonschlinkert/object.map.svg?style=flat&label=AppVeyor)](https://ci.appveyor.com/project/jonschlinkert/object.map)\n\n> Similar to map for arrays, this creates a new object by calling the callback on each property of the original object.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save object.map\n```\n\n## Usage\n\n```js\nvar mapValues = require('object.map');\n\nvar result = mapValues({a: 'a', b: 'b'}, function(val, key, obj) {\n return val + val;\n});\nconsole.log(result);\n//=> {a: 'aa', b: 'bb'}\n```\n\nOptionally specify a `thisArg` as the last argument:\n\n```js\nvar result = mapValues({a: 'b'}, function(val, key, obj) {\n return this.foo;\n}, {foo: 'bar'});\nconsole.log(result);\n//=> {a: 'bar'}\n```\n\n## About\n\n### Related projects\n\n* [arr-map](https://www.npmjs.com/package/arr-map): Faster, node.js focused alternative to JavaScript's native array map. | [homepage](https://github.com/jonschlinkert/arr-map \"Faster, node.js focused alternative to JavaScript's native array map.\")\n* [array-each](https://www.npmjs.com/package/array-each): Loop over each item in an array and call the given function on every element. | [homepage](https://github.com/jonschlinkert/array-each \"Loop over each item in an array and call the given function on every element.\")\n* [collection-map](https://www.npmjs.com/package/collection-map): Returns an array of mapped values from an array or object. | [homepage](https://github.com/jonschlinkert/collection-map \"Returns an array of mapped values from an array or object.\")\n\n### Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n### Contributors\n\n| **Commits** | **Contributor** | \n| --- | --- | \n| 4 | [jonschlinkert](https://github.com/jonschlinkert) | \n| 1 | [phated](https://github.com/phated) | \n| 1 | [doowb](https://github.com/doowb) | \n\n### Building docs\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### Running tests\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### Author\n\n**Jon Schlinkert**\n\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)\n\n### License\n\nCopyright © 2017, [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 December 20, 2017._", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git+https://github.com/jonschlinkert/object.map.git" }, "scripts": { "test": "mocha" }, "verb": { "toc": false, "layout": "default", "tasks": [ "readme" ], "plugins": [ "gulp-format-md" ], "related": { "list": [ "arr-map", "array-each", "collection-map" ] }, "lint": { "reflinks": true } }, "version": "1.0.1" }