{"id":19519607,"url":"https://github.com/the-best-codes/best-holiday","last_synced_at":"2026-02-19T05:01:36.895Z","repository":{"id":250203204,"uuid":"833818781","full_name":"The-Best-Codes/best-holiday","owner":"The-Best-Codes","description":"Holidays and JavaScript; now Customizable and Effortless","archived":false,"fork":false,"pushed_at":"2025-12-23T05:10:03.000Z","size":12509,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-24T19:59:56.264Z","etag":null,"topics":["bestcodes","holiday","holidays","javascript","js","library","npm","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/The-Best-Codes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-07-25T20:19:58.000Z","updated_at":"2025-12-23T05:10:06.000Z","dependencies_parsed_at":"2024-09-15T07:47:20.712Z","dependency_job_id":"87be51bf-7319-465e-b6a0-ed33f4f426eb","html_url":"https://github.com/The-Best-Codes/best-holiday","commit_stats":null,"previous_names":["the-best-codes/best-holiday"],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/The-Best-Codes/best-holiday","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/The-Best-Codes%2Fbest-holiday","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/The-Best-Codes%2Fbest-holiday/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/The-Best-Codes%2Fbest-holiday/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/The-Best-Codes%2Fbest-holiday/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/The-Best-Codes","download_url":"https://codeload.github.com/The-Best-Codes/best-holiday/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/The-Best-Codes%2Fbest-holiday/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29604108,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T04:38:07.383Z","status":"ssl_error","status_checked_at":"2026-02-19T04:35:50.016Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bestcodes","holiday","holidays","javascript","js","library","npm","typescript"],"created_at":"2024-11-11T00:19:22.159Z","updated_at":"2026-02-19T05:01:36.879Z","avatar_url":"https://github.com/The-Best-Codes.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![npm version](https://img.shields.io/npm/v/best-holiday.svg)](https://www.npmjs.com/package/best-holiday)\n[![npm downloads](https://img.shields.io/npm/dm/best-holiday.svg)](https://www.npmjs.com/package/best-holiday)\n[![npm license](https://img.shields.io/npm/l/best-holiday.svg)](https://www.npmjs.com/package/best-holiday)\n\n## `best-holiday`\n\nHolidays and JavaScript; now Customizable and Effortless\n\n\u003cimg src=\"https://github.com/The-Best-Codes/best-holiday/blob/main/.image/Best-Holiday-Logo.png?raw=true\" alt=\"logo\" for=\"cover\" /\u003e\n\n## About\n\nBest-Holiday aims to make it easier for developers to interact with holidays in their applications. Best-Holiday can be used via the npm package or through the CDN for browser use.\n\nThe list of holidays can be found in [src/index.ts](https://github.com/The-Best-Codes/best-holiday/blob/main/src/index.ts). Holidays have four attributes:\n\n- `name`: Name of the holiday\n- `date`: Date of the holiday\n- `country`: Country where the holiday is\n- `type`: Type of the holiday\n\n## Installation\n\nInstalling Best-Holiday is simple.\n\n**npm**\nIn your project directory, run:\n\n```bash\nnpm install best-holiday\n```\n\n**yarn**\nIn your project directory, run:\n\n```bash\nyarn add best-holiday\n```\n\nIf you want to use Best-Holiday in the browser environment, include this script tag in your HTML document:\n\n```html\n\u003cscript src=\"https://cdn.jsdelivr.net/npm/best-holiday@latest/dist/browser/best-holiday.min.js\"\u003e\u003c/script\u003e\n```\n\n## Usage\n\nThe Best-Holiday package currently exports six main functions:\n\n- `getHolidaysForDays`: Returns an array of holidays for a given date\n- `getHolidaysInRange`: Returns an array of holidays for a given range\n- `searchHolidays`: Returns an array of holidays for a given search query\n- `getEasterRelatedHoliday`: Returns the Easter related holiday\n- `addHoliday`: Adds a new holiday\n- `removeHoliday`: Removes a holiday\n\nFor more detailed information about usage, refer to the [Wiki](https://github.com/The-Best-Codes/best-holiday/wiki).\n\n## License\n\n[GPL-3.0-or-later](https://github.com/The-Best-Codes/best-holiday/blob/main/LICENSE)\n\n## Contributors\n\n- [The-Best-Codes](https://github.com/The-Best-Codes)\n\n---\n\n\u0026copy; 2024 [The-Best-Codes](https://github.com/The-Best-Codes)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthe-best-codes%2Fbest-holiday","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthe-best-codes%2Fbest-holiday","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthe-best-codes%2Fbest-holiday/lists"}