Rocky_Mountain_Vending/.pnpm-store/v10/files/0c/2fadadab91232439355f30bf7e49e360f76eb49279631e4eb4faa6232949bb7b9bdc462ba0b9e7fe793317f9b1383340b1cdf1e728faa0c333482f3ddca081
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

18 lines
440 B
Text

const BYTE_LIMIT = 1024;
export function encodeFeatures(features) {
let buffer = "";
for (const key in features) {
const val = features[key];
if (buffer.length + val.length + 1 <= BYTE_LIMIT) {
if (buffer.length) {
buffer += "," + val;
}
else {
buffer += val;
}
continue;
}
break;
}
return buffer;
}