$ npm install lodash.attempt
The lodash method _.attempt exported as a Node.js module.
_.attempt
Using npm:
$ {sudo -H} npm i -g npm $ npm i --save lodash.attempt
In Node.js:
var attempt = require('lodash.attempt');
See the documentation or package source for more details.