Share — Nippy File

    res.json( originalName: fileInfo.originalName, size: formatBytes(fileInfo.size), uploadTime: fileInfo.uploadTime, expiryTime: fileInfo.expiryTime, downloads: fileInfo.downloads ); );

    // Helper functions function calculateExpiry(expiry) const now = new Date(); switch(expiry) case '1h': return new Date(now.getTime() + 3600000); case '24h': return new Date(now.getTime() + 86400000); case '7d': return new Date(now.getTime() + 604800000); default: return new Date(now.getTime() + 86400000); nippy file share

    .progress-fill background: linear-gradient(90deg, #667eea, #764ba2); height: 100%; width: 0%; transition: width 0.3s ease; display: flex; align-items: center; justify-content: center; color: white; font-weight: bold; res.json( originalName: fileInfo.originalName