{"id":22543253,"url":"https://github.com/sefinek/random-animals","last_synced_at":"2025-10-04T01:40:48.864Z","repository":{"id":59647458,"uuid":"538298210","full_name":"sefinek/random-animals","owner":"sefinek","description":"The best npm package for fetching random animal images, such as cats, foxes, dogs, and more! 😻🦊🐕","archived":false,"fork":false,"pushed_at":"2025-03-06T14:44:38.000Z","size":203,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-03T12:40:31.562Z","etag":null,"topics":["alpacas","api","birds","cats","dogs","fishes","foxes","image","images","random","random-images","skiffy"],"latest_commit_sha":null,"homepage":"https://npmjs.com/package/@sefinek/random-animals","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/sefinek.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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},"funding":{"github":"sefinek","ko_fi":"sefinek","buy_me_a_coffee":"sefinek","patreon":"sefinek","custom":["https://www.paypal.me/sefinek24"]}},"created_at":"2022-09-19T02:00:24.000Z","updated_at":"2025-07-17T20:55:42.000Z","dependencies_parsed_at":"2024-01-16T15:08:19.359Z","dependency_job_id":"73885081-a395-46d8-8791-4746b584d4cf","html_url":"https://github.com/sefinek/random-animals","commit_stats":{"total_commits":51,"total_committers":4,"mean_commits":12.75,"dds":0.2941176470588235,"last_synced_commit":"b0d5f754285919a35b333887873fbfc5e43c8034"},"previous_names":["sefinek/random-animals"],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/sefinek/random-animals","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sefinek%2Frandom-animals","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sefinek%2Frandom-animals/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sefinek%2Frandom-animals/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sefinek%2Frandom-animals/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sefinek","download_url":"https://codeload.github.com/sefinek/random-animals/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sefinek%2Frandom-animals/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278254470,"owners_count":25956598,"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","status":"online","status_checked_at":"2025-10-03T02:00:06.070Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["alpacas","api","birds","cats","dogs","fishes","foxes","image","images","random","random-images","skiffy"],"created_at":"2024-12-07T13:15:29.690Z","updated_at":"2025-10-04T01:40:48.843Z","avatar_url":"https://github.com/sefinek.png","language":"JavaScript","funding_links":["https://github.com/sponsors/sefinek","https://ko-fi.com/sefinek","https://buymeacoffee.com/sefinek","https://patreon.com/sefinek","https://www.paypal.me/sefinek24"],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"https://cdn.sefinek.net/images/animals/cat/neva-masquerade-cats-1375033-min.jpg\" alt=\"Just a cat\" height=\"230px\" align=\"left\"\u003e\n\u003cdiv align=\"center\"\u003e\n    \u003ch1\u003e\n        » About this package «\u003cbr\u003e\n        😽 🦊\n    \u003c/h1\u003e\n    \u003cp\u003eThis package for npm returns random images of animals (cats, dogs, foxes etc.) from the official \u003ca href=\"https://api.sefinek.net\" target=\"_blank\"\u003eAPI\u003c/a\u003e.\u003c/p\u003e\n    \u003ca href=\"https://www.npmjs.com/package/@sefinek/random-animals\"\u003e\n        \u003cimg src=\"https://img.shields.io/npm/dt/@sefinek/random-animals?maxAge=3600\" alt=\"The number of downloads\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/last-commit/sefinek/random-animals\" alt=\"Last commit\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/issues/sefinek/random-animals\" alt=\"Issues\"\u003e\n    \u003c/a\u003e\n    \u003cbr\u003e\u003cbr\u003e\n\u003c/div\u003e\n\n## 📥 » Installation\n```bash\nnpm install @sefinek/random-animals\n```\n\n## 🐈 » Usage\n### • Async/await example\n```js\nconst random = require('@sefinek/random-animals');\n\n(async () =\u003e {\n    const data = await random.cat();\n    console.log(data.message);\n})();\n```\n\n### • Promise example\n```js\nconst random = require('@sefinek/random-animals');\n\nrandom.fox().then(data =\u003e console.log(data.message));\n```\n\n## 😻 » Available functions\n| Name                                                                                                                         | Usage                   | Description                                   |\n|------------------------------------------------------------------------------------------------------------------------------|-------------------------|-----------------------------------------------|\n| [cat](https://github.com/sefinek/random-animals/blob/6f0104fe82471644e89cbc52281ac73fa578a267/test/index.test.js#L4)         | `\u003crandom\u003e.cat()`        | Return random cats                            |\n| [dog](https://github.com/sefinek/random-animals/blob/6f0104fe82471644e89cbc52281ac73fa578a267/test/index.test.js#L9)         | `\u003crandom\u003e.dog()`        | Return random dogs                            |\n| [fox](https://github.com/sefinek/random-animals/blob/6f0104fe82471644e89cbc52281ac73fa578a267/test/index.test.js#L14)        | `\u003crandom\u003e.fox()`        | Return random foxes                           |\n| [fish](https://github.com/sefinek/random-animals/blob/6f0104fe82471644e89cbc52281ac73fa578a267/test/index.test.js#L19)       | `\u003crandom\u003e.fish()`       | Return random fishes                          |\n| [alpaca](https://github.com/sefinek/random-animals/blob/6f0104fe82471644e89cbc52281ac73fa578a267/test/index.test.js#L24)     | `\u003crandom\u003e.alpaca()`     | Return random alpacas                         |\n| [bird](https://github.com/sefinek/random-animals/blob/6f0104fe82471644e89cbc52281ac73fa578a267/test/index.test.js#L29)       | `\u003crandom\u003e.bird()`       | Return random bird                            |\n|                                                                                                                              |                         |                                               |\n| [version](https://github.com/sefinek/random-animals/blob/6f0104fe82471644e89cbc52281ac73fa578a267/test/index.test.js#L35)    | `\u003crandom\u003e.version()`    | Return version of this module                 |\n| [apiVersion](https://github.com/sefinek/random-animals/blob/6f0104fe82471644e89cbc52281ac73fa578a267/test/index.test.js#L39) | `\u003crandom\u003e.apiVersion()` | Return API version                            |\n\n\n## 📃 » Returned object\n```json\n{\n  \"success\": true,\n  \"status\": 200,\n  \"info\": { \"category\": \"animals\", \"endpoint\": \"cat\" },\n  \"message\": \"https://cdn.sefinek.net/images/animals/cat/neva-masquerade-cats-1375033-min.jpg\"\n}\n```\n\n## 🤝 » Help\nIf you encounter any issues or have questions, please open a new [Issue](https://github.com/sefinek/random-animals/issues/new) on GitHub.\n\n## ⭐ » Thank you\nIf you find this package useful, please consider giving it a star on [GitHub](https://github.com/sefinek/random-animals) page.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsefinek%2Frandom-animals","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsefinek%2Frandom-animals","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsefinek%2Frandom-animals/lists"}