{"id":19696536,"url":"https://github.com/romankurnovskii/homebrew-fetch","last_synced_at":"2025-10-15T07:03:49.406Z","repository":{"id":162495518,"uuid":"637013830","full_name":"romankurnovskii/homebrew-fetch","owner":"romankurnovskii","description":"Fetch recent casks and formulas from Homebrew repositories.","archived":false,"fork":false,"pushed_at":"2024-12-05T09:56:10.000Z","size":71,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-07T05:49:04.098Z","etag":null,"topics":["homebrew"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/homebrew-fetch","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/romankurnovskii.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"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}},"created_at":"2023-05-06T08:36:16.000Z","updated_at":"2024-12-05T09:56:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"8d173337-1ad7-489a-98f4-c2e6fe942b20","html_url":"https://github.com/romankurnovskii/homebrew-fetch","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"romankurnovskii/npm-js-package-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romankurnovskii%2Fhomebrew-fetch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romankurnovskii%2Fhomebrew-fetch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romankurnovskii%2Fhomebrew-fetch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romankurnovskii%2Fhomebrew-fetch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/romankurnovskii","download_url":"https://codeload.github.com/romankurnovskii/homebrew-fetch/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252823693,"owners_count":21809709,"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":["homebrew"],"created_at":"2024-11-11T19:35:29.372Z","updated_at":"2025-10-15T07:03:49.340Z","avatar_url":"https://github.com/romankurnovskii.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ccenter\u003e\n\u003ch1 align=\"center\"\u003ehomebrew-fetch\u003cbr\u003e\u003c/h1\u003e\n\nFetch recent casks and formulas from Homebrew repositories.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/romankurnovskii/BrewMate/blob/main/assets/icon1024nocorner.png?raw=true\" alt=\"homebrew-fetch\"\n  width=\"150\"\u003e\n\u003c/p\u003e\n\n\u003c/center\u003e\n\n\n[![NPM version][npm-image]][npm-url]\n![npm-javascript]\n[![License][github-license]][github-license-url]\n\n\n## About\n\n`homebrew-fetch` is a Node.js package that fetches recent casks and formulas from Homebrew repositories. It provides an API that allows you to retrieve the latest casks and formulas with an optional limit, and it supports GitHub personal access tokens for authentication.\n\n## 🌟 Features\n\n- Fetch recent casks and formulas from Homebrew repositories\n- Support for GitHub personal access tokens\n\n## 📖 Usage\n\n\n```js\nimport { getRecentCasks, getRecentFormulas } from 'homebrew-fetch';\n\nconst casks = await getRecentCasks(10);\nconsole.log('Recent Casks:', casks);\n\nconst formulas = await getRecentFormulas(10);\nconsole.log('Recent Formulas:', formulas);\n```\n\n## Usage (global module)\n\n```\nhomebrew-fetch --help\nhomebrew-fetch --casks [--limit \u003climit\u003e] [--token \u003ctoken\u003e]\nhomebrew-fetch --formulas [--limit \u003climit\u003e] [--token \u003ctoken\u003e]\n\nhomebrew-fetch --casks --limit 10\n\nhomebrew-fetch --formulas --token YOUR_GITHUB_PERSONAL_ACCESS_TOKEN\n\n# get token from here https://github.com/settings/tokens\nexport GITHUB_TOKEN=....\n\nhomebrew-fetch --formulas\n\n# if no token, script will run git clone before\n\n\nhomebrew-fetch --formula --limit 100\n\n# Recent Formulas: [\n#   modified: [\n#     'libxml2',           'libxml2',           'exploitdb',\n#     'protolint',         'ada-url',           'cdk8s',\n# ]\n\n\nhomebrew-fetch --cask\n\n# Recent Casks: [\n#   modified: [\n#     'hackolade',           'thunder',               'readmoreading',\n#     '4k-video-downloader', 'ipepresenter',          'ipe',\n#   ],\n#   removed: [ 'shellhere', 'movist', 'max', 'prismatik' ],\n#   added: [ 'submariner', 'entry' ]\n# ]\n```\n\n## 🛠️ Installation\n\n```sh\nnpm install homebrew-fetch\n\n# for global usage\nnpm install -g homebrew-fetch\n```\n\nor\n\n```sh\nyarn add homebrew-fetch\n```\n\n## API\n\n- **getRecentCasks(limit?: number, token?: string)** =\u003e Promise\u003cobject\u003e\n- **getRecentFormulas(limit?: number, token?: string)** =\u003e Promise\u003cobject\u003e\n\n\n[package-name]: homebrew-fetch\n[npm-url]: https://www.npmjs.com/package/[package-name]\n[npm-image]: https://img.shields.io/npm/v/homebrew-fetch\n[github-license]: https://img.shields.io/github/license/romankurnovskii/homebrew-fetch\n[github-license-url]: https://github.com/romankurnovskii/homebrew-fetch/blob/main/LICENSE\n[npm-javascript]: https://img.shields.io/npm/types/homebrew-fetch\n[build-status]: https://github.com/romankurnovskii/homebrew-fetch/workflows/CI/badge.svg\n[build-status-url]: https://github.com/romankurnovskii/homebrew-fetch\n[install-size]: https://packagephobia.com/badge?p=homebrew-fetch\n[install-size-url]: https://packagephobia.com/result?p=homebrew-fetch\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fromankurnovskii%2Fhomebrew-fetch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fromankurnovskii%2Fhomebrew-fetch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fromankurnovskii%2Fhomebrew-fetch/lists"}