Skip to main content
Glama
examples.js1.91 kB
"use strict"; var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { if (ar || !(i in from)) { if (!ar) ar = Array.prototype.slice.call(from, 0, i); ar[i] = from[i]; } } return to.concat(ar || Array.prototype.slice.call(from)); }; Object.defineProperty(exports, "__esModule", { value: true }); var index_1 = require("./index"); var samples = 10; var list = __spreadArray([], Array(samples), true); console.info("\npoolSize() // = " + (0, index_1.poolSize)().toLocaleString()); console.info("minLength() // = " + (0, index_1.minLength)().toLocaleString()); console.info("maxLength() // = " + (0, index_1.maxLength)().toLocaleString()); console.info("\nhumanId()"); list.forEach(function (_) { return console.log("> " + (0, index_1.humanId)()); }); console.info("\nhumanId('-') // or { \"separator\": \"-\" }"); list.forEach(function (_) { return console.log("> " + (0, index_1.humanId)('-')); }); console.info("\nhumanId(false) // or { \"capitalize\": false }"); list.forEach(function (_) { return console.log("> " + (0, index_1.humanId)(false)); }); var options = { adjectiveCount: 2, addAdverb: true, separator: '.' }; console.info("\nconst options = " + JSON.stringify(options, null, ' ')); console.info("poolSize(options) // = " + (0, index_1.poolSize)(options).toLocaleString()); console.info("minLength(options) // = " + (0, index_1.minLength)(options).toLocaleString()); console.info("maxLength(options) // = " + (0, index_1.maxLength)(options).toLocaleString()); console.info("humanId(options)"); list.forEach(function (_) { return console.log("> " + (0, index_1.humanId)(options)); }); //# sourceMappingURL=examples.js.map

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ajaystream/hubspot-mcp-custom'

If you have feedback or need assistance with the MCP directory API, please join our Discord server