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