{"_id":"@ankushch12/console-pets","name":"@ankushch12/console-pets","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@ankushch12/console-pets","version":"1.0.0","description":"Tiny ASCII animals that live in your terminal and react to your code activity!","main":"index.js","bin":{"console-pets":"bin/console-pets.js"},"scripts":{"test":"node bin/console-pets.js status"},"keywords":["terminal","ascii","pet","daemon","background","cli","developer-tools","fun"],"author":{"name":"Ankush"},"license":"MIT","engines":{"node":">=14.0.0"},"repository":{"type":"git","url":"git+https://github.com/ankushchk/console-pets.git"},"dependencies":{"chalk":"^4.1.2","chokidar":"^3.5.3"},"gitHead":"4b5a4de396f8f3c7cc87c19211de80dd7e9f4f7d","_id":"@ankushch12/console-pets@1.0.0","bugs":{"url":"https://github.com/ankushchk/console-pets/issues"},"homepage":"https://github.com/ankushchk/console-pets#readme","_nodeVersion":"25.3.0","_npmVersion":"11.7.0","dist":{"integrity":"sha512-wwAIv1sBrIGEtWEYGLpgMDxflwYGLzzORG6rKnyEM/lQwjQKQYWizLxpKiGdvOnrWCntASQNqGttd8ZUaNvxdA==","shasum":"5b0dc5bc578e04d54f13efb11ee4c5a6750eb6a8","tarball":"https://registry.npmjs.org/@ankushch12/console-pets/-/console-pets-1.0.0.tgz","fileCount":10,"unpackedSize":17626,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCn4U5aMv+snXLvB7OD/VAJfbKjU6PqJvHk0YvYLFrkvgIhAIYnny3sn5BaqpNY2taaU8Apr3UCksbrXTqzUsdlIKl8"}]},"_npmUser":{"name":"ankushchk","email":"ac.ankushchauhan.2006@gmail.com"},"directories":{},"maintainers":[{"name":"ankushchk","email":"ac.ankushchauhan.2006@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/console-pets_1.0.0_1768859564660_0.271180465447858"},"_hasShrinkwrap":false}},"time":{"created":"2026-01-19T21:52:44.551Z","1.0.0":"2026-01-19T21:52:44.835Z","modified":"2026-01-19T21:52:45.109Z"},"maintainers":[{"name":"ankushchk","email":"ac.ankushchauhan.2006@gmail.com"}],"description":"Tiny ASCII animals that live in your terminal and react to your code activity!","homepage":"https://github.com/ankushchk/console-pets#readme","keywords":["terminal","ascii","pet","daemon","background","cli","developer-tools","fun"],"repository":{"type":"git","url":"git+https://github.com/ankushchk/console-pets.git"},"author":{"name":"Ankush"},"bugs":{"url":"https://github.com/ankushchk/console-pets/issues"},"license":"MIT","readme":"# 🐱 Console Pets\n\nTiny ASCII animals that live in your terminal and react to your code!\n\n## Installation\n```bash\nnpm install -g @ankushch12/console-pets\n```\n\n## Usage\n\n### As a Background Daemon (Recommended)\nThis mode lets a pet live in your terminal and react to your activity across all sessions. It starts automatically!\n\n**Add to your shell:**\n\n**For Zsh (Mac default):** Add this to your `~/.zshrc`:\n```bash\nsource $(npm root -g)/@ankushch12/console-pets/shell-prompt.sh\n```\n\n**For Bash:** Add this to your `~/.bashrc`:\n```bash\nsource $(npm root -g)/@ankushch12/console-pets/shell-prompt.sh\n```\n\nThat's it! Every time you open a terminal, the pet will check if it needs to wake up and start watching your work.\n\n### As a CLI wrapper\n```bash\nconsole-pets -- npm test\nconsole-pets -- node app.js\n```\n\n### Live Watch Mode\nSee your pet move in real-time in any terminal window:\n```bash\nconsole-pets watch\n```\n\n## How it works\n\nConsole Pets works in three parts:\n\n1.  **The Brain (daemon.js)**: A lightweight background process that monitors your activity.\n2.  **The Eye (monitor.js)**: Watches for file changes in your project and keyboard activity in your shell.\n3.  **The Display (shell-prompt.sh)**: A tiny script that reads the pet's current state and injects it into your terminal prompt.\n\n## Features\n\n- **Idle** - Sleeping when no activity for 5+ seconds\n- **Working** - Typing when you code or run commands\n- **Success** - Celebrating when process exits successfully\n- **Error** - Hiding when errors occur\n- **Thinking** - Loading animation\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.","readmeFilename":"README.md","_rev":"1-55e3ac8f5850105733ba88e6566a2e25"}