UNPKG

@resk/core

Version:

An innovative TypeScript framework that empowers developers to build applications with a fully decorator-based architecture for efficient resource management. By combining the power of decorators with a resource-oriented design, DecorRes enhances code cla

1 lines 270 B
'use strict';function h(g,t=16,n=""){n=n||"",g=g||"",t<=0&&(t=16),t=Math.floor(t);var o=g+(Math.floor(Math.random()*25)+10).toString(36)+n;o+=new Date().getTime().toString(36)+n;do o+=Math.floor(Math.random()*35).toString(36);while(o.length<t);return o}module.exports=h;