Skip to main content
Glama

Just Prompt

by disler
countdown_component.txt742 B
Create a countdown timer component that satisfies these requirements: 1. Framework implementations: - Vue.js - Svelte - React - Vanilla JavaScript 2. Component interface: - :start-time: number (starting time in seconds) - :format: number (display format, 0 = MM:SS, 1 = HH:MM:SS) 3. Features: - Count down from start-time to zero - Display remaining time in specified format - Stop counting when reaching zero - Emit/callback 'finished' event when countdown completes - Provide a visual indication when time is running low (< 10% of total) 4. Include: - Component implementation - Sample usage - Clear comments explaining key parts Provide clean, well-structured code for each framework version.

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/disler/just-prompt'

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