# lodash.sample v4.2.1 The [lodash](https://lodash.com/) method `_.sample` exported as a [Node.js](https://nodejs.org/) module. ## Installation Using npm: ```bash $ {sudo -H} npm i -g npm $ npm i --save lodash.sample ``` In Node.js: ```js var sample = require('lodash.sample'); ``` See the [documentation](https://lodash.com/docs#sample) or [package source](https://github.com/lodash/lodash/blob/4.2.1-npm-packages/lodash.sample) for more details.