{"id":18855986,"url":"https://github.com/rickycodes/8ball","last_synced_at":"2025-06-25T03:43:30.330Z","repository":{"id":57093235,"uuid":"56633017","full_name":"rickycodes/8ball","owner":"rickycodes","description":"magic :8ball: :sparkles:","archived":false,"fork":false,"pushed_at":"2018-04-28T08:03:32.000Z","size":3,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-17T07:13:49.582Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rickycodes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-04-19T21:22:11.000Z","updated_at":"2017-07-08T12:02:55.000Z","dependencies_parsed_at":"2022-08-22T21:40:06.905Z","dependency_job_id":null,"html_url":"https://github.com/rickycodes/8ball","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rickycodes/8ball","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickycodes%2F8ball","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickycodes%2F8ball/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickycodes%2F8ball/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickycodes%2F8ball/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rickycodes","download_url":"https://codeload.github.com/rickycodes/8ball/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickycodes%2F8ball/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261801582,"owners_count":23211638,"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":[],"created_at":"2024-11-08T03:57:15.223Z","updated_at":"2025-06-25T03:43:30.281Z","avatar_url":"https://github.com/rickycodes.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## The Magic 8 Ball\n\nThe Magic 8 Ball is a toy used for fortune-telling or seeking advice.\n\n### install:\n```\n$ npm i --save 8ball\n```\n\n### usage:\n\n```js\nconst eightball = require('8ball')()\nconsole.log(`do you need a new lease on life? ${eightball}`)\n// do you need a new lease on life? it is decidedly so\n```\n\n### cli:\n8ball or 🎱\n```\n$ npm i -g 8ball\n```\n```\n$ 8ball 'will i be pretty?'\nreply hazy, try again\n```\n```\n$ 🎱 'will i be rich?'\nconcentrate and ask again\n```\nalso accepts stdin:\n```shell\n$ echo 'will i be rich' | 🎱\nplease ask a question\n```\n_(no `?` match in stdin)_\n\n### requirements:\n\nnode `\u003e=4`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frickycodes%2F8ball","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frickycodes%2F8ball","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frickycodes%2F8ball/lists"}