motion
Version:
motion - moving development forward
76 lines (75 loc) • 2.42 kB
JSON
{
"_args": [
[
"map-obj@https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz",
"/Users/nw/flint/packages/flint"
]
],
"_from": "map-obj@>=1.0.1 <2.0.0",
"_id": "map-obj@1.0.1",
"_inCache": true,
"_location": "/map-obj",
"_phantomChildren": {},
"_requested": {
"name": "map-obj",
"raw": "map-obj@https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz",
"rawSpec": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz",
"scope": null,
"spec": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz",
"type": "remote"
},
"_requiredBy": [
"/camelcase-keys",
"/meow"
],
"_resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz",
"_shasum": "d933ceb9205d82bdcf4886f6742bdc2b4dea146d",
"_shrinkwrap": null,
"_spec": "map-obj@https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz",
"_where": "/Users/nw/flint/packages/flint",
"author": {
"email": "sindresorhus@gmail.com",
"name": "Sindre Sorhus",
"url": "sindresorhus.com"
},
"bugs": {
"url": "https://github.com/sindresorhus/map-obj/issues"
},
"dependencies": {},
"description": "Map object keys and values into a new object",
"devDependencies": {
"ava": "0.0.4"
},
"engines": {
"node": ">=0.10.0"
},
"files": [
"index.js"
],
"homepage": "https://github.com/sindresorhus/map-obj#readme",
"keywords": [
"iterate",
"iterator",
"key",
"keys",
"map",
"obj",
"object",
"val",
"value",
"values"
],
"license": "MIT",
"name": "map-obj",
"optionalDependencies": {},
"readme": "# map-obj [](https://travis-ci.org/sindresorhus/map-obj)\n\n> Map object keys and values into a new object\n\n\n## Install\n\n```\n$ npm install --save map-obj\n```\n\n\n## Usage\n\n```js\nvar mapObj = require('map-obj');\n\nvar newObject = mapObj({foo: 'bar'}, function (key, value, object) {\n\t// first element is the new key and second is the new value\n\t// here we reverse the order\n\treturn [value, key];\n});\n//=> {bar: 'foo'}\n```\n\n\n## License\n\nMIT © [Sindre Sorhus](http://sindresorhus.com)\n",
"readmeFilename": "readme.md",
"repository": {
"type": "git",
"url": "git+https://github.com/sindresorhus/map-obj.git"
},
"scripts": {
"test": "node test.js"
},
"version": "1.0.1"
}