\begin{quote}
Returns a filtered copy of an object with only the specified keys, similar to {\ttfamily \+\_\+.\+pick} from lodash / underscore. \end{quote}
You might also be interested in \href{https://github.com/jonschlinkert/object.omit}{\texttt{ object.\+omit}}.\hypertarget{md_sfcode_node_modules_object_pick_README_autotoc_md18970}{}\doxysection{Install}\label{md_sfcode_node_modules_object_pick_README_autotoc_md18970}
Install with \href{https://www.npmjs.com/}{\texttt{ npm}}\+:


\begin{DoxyCode}{0}
\DoxyCodeLine{\$ npm install -\/-\/save object.pick }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_object_pick_README_autotoc_md18971}{}\doxysection{benchmarks}\label{md_sfcode_node_modules_object_pick_README_autotoc_md18971}
This is the \href{http://jsperf.com/pick-props}{\texttt{ fastest implementation}} I tested. Pull requests welcome!\hypertarget{md_sfcode_node_modules_object_pick_README_autotoc_md18972}{}\doxysection{Usage}\label{md_sfcode_node_modules_object_pick_README_autotoc_md18972}

\begin{DoxyCode}{0}
\DoxyCodeLine{var pick = require('object.pick');}
\DoxyCodeLine{}
\DoxyCodeLine{pick(\{a: 'a', b: 'b'\}, 'a')}
\DoxyCodeLine{//=> \{a: 'a'\}}
\DoxyCodeLine{}
\DoxyCodeLine{pick(\{a: 'a', b: 'b', c: 'c'\}, ['a', 'b'])}
\DoxyCodeLine{//=> \{a: 'a', b: 'b'\} }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_object_pick_README_autotoc_md18973}{}\doxysection{About}\label{md_sfcode_node_modules_object_pick_README_autotoc_md18973}
\hypertarget{md_sfcode_node_modules_object_pick_README_autotoc_md18974}{}\doxysubsection{Related projects}\label{md_sfcode_node_modules_object_pick_README_autotoc_md18974}

\begin{DoxyItemize}
\item \href{https://www.npmjs.com/package/extend-shallow}{\texttt{ extend-\/shallow}}\+: Extend an object with the properties of additional objects. node.\+js/javascript util. $\vert$ \href{https://github.com/jonschlinkert/extend-shallow}{\texttt{ homepage}}
\item \href{https://www.npmjs.com/package/get-value}{\texttt{ get-\/value}}\+: Use property paths ({\ttfamily a.\+b.\+c}) to get a nested value from an object. $\vert$ \mbox{[}homepage\mbox{]}(\href{https://github.com/jonschlinkert/get-value}{\texttt{ https\+://github.\+com/jonschlinkert/get-\/value}} \char`\"{}\+Use property paths (\`{}a.\+b.\+c\`{}) to get a nested value from an object.\char`\"{})
\item \href{https://www.npmjs.com/package/mixin-deep}{\texttt{ mixin-\/deep}}\+: Deeply mix the properties of objects into the first object. Like merge-\/deep, but doesn\textquotesingle{}t clone. $\vert$ \href{https://github.com/jonschlinkert/mixin-deep}{\texttt{ homepage}}
\item \href{https://www.npmjs.com/package/set-value}{\texttt{ set-\/value}}\+: Create nested values and any intermediaries using dot notation (`\textquotesingle{}a.\+b.\+c'{\ttfamily ) paths. $\vert$ \mbox{[}homepage\mbox{]}(\href{https://github.com/jonschlinkert/set-value}{\texttt{ https\+://github.\+com/jonschlinkert/set-\/value}} \char`\"{}\+Create nested values and any intermediaries using dot notation ($<$/tt$>$\textquotesingle{}a.\+b.\+c\textquotesingle{}\`{}) paths.\char`\"{})}
\end{DoxyItemize}

{\ttfamily }\hypertarget{md_sfcode_node_modules_object_pick_README_autotoc_md18975}{}\doxysubsection{Contributing}\label{md_sfcode_node_modules_object_pick_README_autotoc_md18975}
{\ttfamily  Pull requests and stars are always welcome. For bugs and feature requests, \href{../../issues/new}{\texttt{ please create an issue}}.}

{\ttfamily }\hypertarget{md_sfcode_node_modules_object_pick_README_autotoc_md18976}{}\doxysubsection{Building docs}\label{md_sfcode_node_modules_object_pick_README_autotoc_md18976}
{\ttfamily  \+\_\+(This document was generated by \href{https://github.com/verbose/verb-generate-readme}{\texttt{ verb-\/generate-\/readme}} (a \href{https://github.com/verbose/verb}{\texttt{ verb}} generator), please don\textquotesingle{}t edit the readme directly. Any changes to the readme must be made in .verb.md.)\+\_\+}

{\ttfamily To generate the readme and API documentation with \href{https://github.com/verbose/verb}{\texttt{ verb}}\+:}

{\ttfamily 
\begin{DoxyCode}{0}
\DoxyCodeLine{\$ npm install -\/g verb verb-\/generate-\/readme \&\& verb }

\end{DoxyCode}
}

{\ttfamily }\hypertarget{md_sfcode_node_modules_object_pick_README_autotoc_md18977}{}\doxysubsection{Running tests}\label{md_sfcode_node_modules_object_pick_README_autotoc_md18977}
{\ttfamily  Install dev dependencies\+:}

{\ttfamily 
\begin{DoxyCode}{0}
\DoxyCodeLine{\$ npm install -\/d \&\& npm test }

\end{DoxyCode}
}

{\ttfamily }\hypertarget{md_sfcode_node_modules_object_pick_README_autotoc_md18978}{}\doxysubsection{Author}\label{md_sfcode_node_modules_object_pick_README_autotoc_md18978}
{\ttfamily  {\bfseries{Jon Schlinkert}}}

{\ttfamily 
\begin{DoxyItemize}
\item \href{https://github.com/jonschlinkert}{\texttt{ github/jonschlinkert}}
\item \href{http://twitter.com/jonschlinkert}{\texttt{ twitter/jonschlinkert}}
\end{DoxyItemize}}

{\ttfamily }\hypertarget{md_sfcode_node_modules_object_pick_README_autotoc_md18979}{}\doxysubsection{License}\label{md_sfcode_node_modules_object_pick_README_autotoc_md18979}
{\ttfamily  Copyright © 2016, \href{https://github.com/jonschlinkert}{\texttt{ Jon Schlinkert}}. Released under the \href{https://github.com/jonschlinkert/object.pick/blob/master/LICENSE}{\texttt{ MIT license}}.}

{\ttfamily \DoxyHorRuler{0}
}

{\ttfamily {\itshape This file was generated by \href{https://github.com/verbose/verb-generate-readme}{\texttt{ verb-\/generate-\/readme}}, v0.\+2.\+0, on October 27, 2016.} }