@pivanov/utils
Version:
A focused collection of TypeScript utilities for modern web development
8 lines (7 loc) • 624 B
JavaScript
/*!
* @pivanov/utils v1.0.0
* (c) 2024-present Pavel Ivanov
* Released under the MIT License.
* https://github.com/pivanov/utils
*/
var{defineProperty:H,getOwnPropertyNames:K,getOwnPropertyDescriptor:L}=Object,M=Object.prototype.hasOwnProperty;var J=new WeakMap,N=(q)=>{var k=J.get(q),z;if(k)return k;if(k=H({},"__esModule",{value:!0}),q&&typeof q==="object"||typeof q==="function")K(q).map((G)=>!M.call(k,G)&&H(k,G,{get:()=>q[G],enumerable:!(z=L(q,G))||z.enumerable}));return J.set(q,k),k};var Q=(q,k)=>{for(var z in k)H(q,z,{get:k[z],enumerable:!0,configurable:!0,set:(G)=>k[z]=()=>G})};var O={};module.exports=N(O);