UNPKG

compound-ex4

Version:

Compound-ex4 - MVC framework for NodeJS (ExpressJs 4 version), fork compoundjs(https://github.com/1602/compound)

12 lines (8 loc) 206 B
'use strict'; var generated = Object.create(null) , random = Math.random; module.exports = function () { var str; do { str = random().toString(36).slice(2); } while (generated[str]); return str; };