{"_id":"pick-from","_rev":"4-b9e46b56cf7680fb242fee4dbe633579","name":"pick-from","description":"Get the value of the first occurrence of `key` from an array of objects.","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"pick-from","description":"Get the value of the first occurrence of `key` from an array of objects.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/pick-from","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/pick-from.git"},"bugs":{"url":"https://github.com/jonschlinkert/pick-from/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/pick-from/blob/master/LICENSE-MIT"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"mocha":"*","should":"*"},"keywords":[],"dependencies":{"array-slice":"^0.2.2","object.pick":"^1.1.0"},"_id":"pick-from@0.1.0","_shasum":"1e8f4224799f3b77d5cdd52e2dbf8169b51a7a30","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"1e8f4224799f3b77d5cdd52e2dbf8169b51a7a30","tarball":"https://registry.npmjs.org/pick-from/-/pick-from-0.1.0.tgz","integrity":"sha512-AdzSk+asB5wvN8zsfmk2DhAuiI/Wy7oFBo4e3l/y2a3vtYAFQHNGE63wDD8Eck4mBb1REpqY1Z9MFI9ca+kjaA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGKJrSNr76AT0SvUqA4hT903yhBTAzzf598IFdnWmqk9AiB8M1xDYRaDi5nPdBck/yg8Y2We1Qey2kIQzwsDEbXriQ=="}]}}},"readme":"# pick-from [![NPM version](https://badge.fury.io/js/pick-from.svg)](http://badge.fury.io/js/pick-from)\n\n> Get the value of the first occurrence of `key` from an array of objects.\n\n## Install with [npm](npmjs.org)\n\n```bash\nnpm i pick-from --save\n```\n\n## Usage\n\n```js\nvar pickFrom = require('pick-from');\n\npickFrom('a', [{b: 'c'}, {a: 'd'}])\n//=> 'd'\n```\n\nPass `true` as the last argument to return the first non-null value:\n\n```js\npickFrom('a', [{b: 'c'}, {a: null}, {a: 'foo'}]);\n//=> null\n\npickFrom('a', [{b: 'c'}, {a: null}, {a: 'foo'}], true);\n//=> 'foo'\n```\n\n## Run tests\n\nInstall dev dependencies:\n\n```bash\nnpm i -d && npm test\n```\n\n## Contributing\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/pick-from/issues)\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\nCopyright (c) 2015 Jon Schlinkert  \nReleased under the MIT license\n\n***\n\n_This file was generated by [verb](https://github.com/assemble/verb) on February 02, 2015._\n","maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2022-06-23T22:33:45.077Z","created":"2015-02-03T00:40:49.391Z","0.1.0":"2015-02-03T00:40:49.391Z"},"homepage":"https://github.com/jonschlinkert/pick-from","keywords":[],"repository":{"type":"git","url":"git://github.com/jonschlinkert/pick-from.git"},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"bugs":{"url":"https://github.com/jonschlinkert/pick-from/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/pick-from/blob/master/LICENSE-MIT"},"readmeFilename":"README.md"}