Utility functions that need to be reimplemented for each environment. This is the version for Node.js
* [customUtilsNode](#module_customUtilsNode) * [.uid(len)](#module_customUtilsNode.uid) ⇒string
* [.uid(len)](#module_customUtilsNode.uid) ⇒ string
### customUtilsNode.uid(len) ⇒ string
Return a random alphanumerical string of length len There is a very small probability (less than 1/1,000,000) for the length to be less than len (il the base64 conversion yields too many pluses and slashes) but that's not an issue here The probability of a collision is extremely small (need 3*10^12 documents to have one chance in a million of a collision) See http://en.wikipedia.org/wiki/Birthday_problem
**Kind**: static method of [customUtilsNode
](#module_customUtilsNode)
| Param | Type |
| --- | --- |
| len | number
|
### customUtilsNode.uid(len) ⇒ string
Return a random alphanumerical string of length len There is a very small probability (less than 1/1,000,000) for the length to be less than len (il the base64 conversion yields too many pluses and slashes) but that's not an issue here The probability of a collision is extremely small (need 3*10^12 documents to have one chance in a million of a collision) See http://en.wikipedia.org/wiki/Birthday_problem
**Kind**: static method of [customUtilsNode
](#module_customUtilsNode)
| Param | Type |
| --- | --- |
| len | number
|