{"id":19081070,"url":"https://github.com/alcadramin/zolt","last_synced_at":"2025-04-30T07:29:37.267Z","repository":{"id":257806344,"uuid":"866226654","full_name":"Alcadramin/zolt","owner":"Alcadramin","description":"Zolt ⚡ – The CLI spinner that doesn't suck. Zero dependencies, just 1KB, with CJS \u0026 ESM support. 🎯","archived":false,"fork":false,"pushed_at":"2024-10-05T13:20:36.000Z","size":120,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-24T20:12:15.937Z","etag":null,"topics":["cli","cli-spinner","javascript","lightweight","loading","loading-spinner","nodejs","npm","npm-package","spinner","terminal"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/zolt","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Alcadramin.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-01T21:37:51.000Z","updated_at":"2025-02-13T17:36:23.000Z","dependencies_parsed_at":"2024-10-01T23:15:31.455Z","dependency_job_id":"a61d8ff1-a991-47b3-9631-9e2972e95b06","html_url":"https://github.com/Alcadramin/zolt","commit_stats":null,"previous_names":["alcadramin/zolt"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alcadramin%2Fzolt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alcadramin%2Fzolt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alcadramin%2Fzolt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alcadramin%2Fzolt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Alcadramin","download_url":"https://codeload.github.com/Alcadramin/zolt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251660323,"owners_count":21623225,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","cli-spinner","javascript","lightweight","loading","loading-spinner","nodejs","npm","npm-package","spinner","terminal"],"created_at":"2024-11-09T02:32:53.154Z","updated_at":"2025-04-30T07:29:37.236Z","avatar_url":"https://github.com/Alcadramin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://storage.googleapis.com/engineerhub-static/zolt.png?v=1\" alt=\"Zolt\" /\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/Alcadramin/zolt/actions/workflows/ci.yaml\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://github.com/Alcadramin/zolt/actions/workflows/ci.yaml/badge.svg?branch=main\" alt=\"Build Status\"/\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/Alcadramin/zolt/issues\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/issues/Alcadramin/zolt\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://codecov.io/gh/Alcadramin/zolt\" target=\"_blank\"\u003e\n     \u003cimg src=\"https://codecov.io/gh/Alcadramin/zolt/graph/badge.svg?token=b8OKOUqFbx\"/\u003e \n  \u003c/a\u003e\n\u003c/p\u003e\n\n## Zolt - The CLI Spinner That Doesn't Suck\n\n### Why Zolt?!\n\nLook, we get it. You've used **Ora** and a thousand other spinners with a million dependencies. Do you _really_ need half the npm registry installed just to show a couple of spinning dots? **Zolt** ⚡ is here to save you (and your poor hard drive).\n\n- **1KB of pure, unadulterated performance.** Yep, just 1KB! Smaller than your average tweet.\n- **CommonJS AND ESModules.** We’re fancy like that.\n- **No dependencies.** That’s right, Zolt runs without dragging in 500 packages you’ll never care about.\n\nSo if you’re tired of bloated spinners that make you question why you even needed one in the first place, give Zolt a spin (pun intended).\n\n## Install\n\nLet's face it, if you can't install Zolt, you probably shouldn't be spinning anything anyway. But here you go:\n\n```bash\n# Install via pnpm, because you're using the best package manager, right?\npnpm install zolt\n```\n\n## Usage\n\nIt's almost embarrassingly easy to use Zolt. Here’s how:\n\n### CommonJS (because not everyone is cool enough for ESM):\n\n```javascript\nconst { Zolt } = require('zolt');\n\nZolt.start('dots', 'cyan', 'Loading...');\nsetTimeout(() =\u003e Zolt.stop(), 5000);\n```\n\n### ESModules (because you’re modern and hip):\n\n```javascript\nimport { Zolt } from 'zolt';\n\nZolt.start('dots', 'green', 'Creating awesome stuff 🚀');\nsetTimeout(() =\u003e Zolt.stop(), 5000);\n```\n\n## API\n\nZolt is simple, because you don’t need a PhD to understand a spinner.\n\n### `Zolt.start([mode], [color], [text])`\n\n- **mode** (`'dots' | 'bars' | 'arrows' | 'bounce'`): The style of the spinner. Because we know you want options.\n- **color** (`'black' | 'red' | 'green' | 'yellow' | 'blue' | 'magenta' | 'cyan' | 'white' | 'brightBlack' | 'brightRed' | 'brightGreen' | 'brightYellow' | 'brightBlue' | 'brightMagenta' | 'brightCyan' | 'brightWhite'`): Pick a color, any color! Or just leave it if you're too indecisive.\n- **text** (`string`): The _optional_ text you want next to your spinner. Could be “Loading…” or your existential crisis, whatever suits the mood.\n\n### `Zolt.stop([callback])`\n\n- **callback** (`function`): Because we care about your code finishing gracefully, we allow you to run a callback when the spinner stops. Maybe log a \"finished\" message, or just reflect on how good you are at making spinners stop.\n\n## Why You'll Love Zolt\n\n1. **Minimalism at its finest** – No need to clutter your project with useless dependencies just to show some spinning dots.\n2. **Compatible with your lifestyle** – Whether you’re a CommonJS traditionalist or an ESModule futurist, Zolt doesn’t judge.\n3. **Tiny, but mighty** – 1KB of functionality. You’ve probably written longer commit messages.\n4. **Dependability without dependencies** – Zolt spins, stops, and keeps your terminal looking clean. That’s it. Simple, reliable, no drama.\n\nEnjoy spinning, and remember, if your spinner has dependencies, it’s not Zolt.\n\n## License\n\nThis repository is licensed under the [MIT](LICENSE.md) License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falcadramin%2Fzolt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falcadramin%2Fzolt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falcadramin%2Fzolt/lists"}