mcp-strawberry
Version:
The crucial MCP tool that finally teaches LLMs how to count 'R's in words like 'strawberry'. Because apparently, they can't do it themselves. Seriously.
17 lines (16 loc) • 436 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const uuid_1 = require("uuid");
class Uuid {
uuidv4(count = 1) {
if (count <= 1) {
return (0, uuid_1.v4)(); // ⇨ '9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d'
}
const uuid = [];
for (let i = 0; i < count; i++) {
uuid.push((0, uuid_1.v4)());
}
return uuid;
}
}
exports.default = Uuid;