Skip to main content
Glama
password.js432 B
'use strict'; const StringPrompt = require('../types/string'); class PasswordPrompt extends StringPrompt { constructor(options) { super(options); this.cursorShow(); } format(input = this.input) { if (!this.keypressed) return ''; let color = this.state.submitted ? this.styles.primary : this.styles.muted; return color(this.symbols.asterisk.repeat(input.length)); } } module.exports = PasswordPrompt;

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