$ cnpm install lodash.uniqueid
The lodash method _.uniqueId
exported as a Node.js module.
Using npm:
$ {sudo -H} npm i -g npm
$ npm i --save lodash.uniqueid
In Node.js:
var uniqueId = require('lodash.uniqueid');
See the documentation or package source for more details.
Copyright 2014 - 2016 © taobao.org |