{"id":13403867,"url":"https://github.com/freiksenet/react-calendar","last_synced_at":"2025-10-08T13:12:37.293Z","repository":{"id":21319522,"uuid":"24636147","full_name":"freiksenet/react-calendar","owner":"freiksenet","description":"A modular toolkit to build calendar-related things in React","archived":false,"fork":false,"pushed_at":"2017-09-05T20:49:35.000Z","size":1223,"stargazers_count":248,"open_issues_count":7,"forks_count":42,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-10-03T06:19:35.290Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://freiksenet.github.io/react-calendar/","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/freiksenet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-09-30T11:52:01.000Z","updated_at":"2024-10-17T16:27:34.000Z","dependencies_parsed_at":"2022-08-17T20:01:07.114Z","dependency_job_id":null,"html_url":"https://github.com/freiksenet/react-calendar","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/freiksenet/react-calendar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freiksenet%2Freact-calendar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freiksenet%2Freact-calendar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freiksenet%2Freact-calendar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freiksenet%2Freact-calendar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/freiksenet","download_url":"https://codeload.github.com/freiksenet/react-calendar/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freiksenet%2Freact-calendar/sbom","scorecard":{"id":411112,"data":{"date":"2025-08-11","repo":{"name":"github.com/freiksenet/react-calendar","commit":"2dd32f345f4b3cd7dcc912e4807ed3055197d2eb"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.8,"checks":[{"name":"Code-Review","score":1,"reason":"Found 4/21 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact 0.4.0 not signed: https://api.github.com/repos/freiksenet/react-calendar/releases/1174370","Warn: release artifact 0.3.0 not signed: https://api.github.com/repos/freiksenet/react-calendar/releases/731504","Warn: release artifact 0.2.0 not signed: https://api.github.com/repos/freiksenet/react-calendar/releases/595744","Warn: release artifact 0.1.0 not signed: https://api.github.com/repos/freiksenet/react-calendar/releases/592695","Warn: release artifact 0.4.0 does not have provenance: https://api.github.com/repos/freiksenet/react-calendar/releases/1174370","Warn: release artifact 0.3.0 does not have provenance: https://api.github.com/repos/freiksenet/react-calendar/releases/731504","Warn: release artifact 0.2.0 does not have provenance: https://api.github.com/repos/freiksenet/react-calendar/releases/595744","Warn: release artifact 0.1.0 does not have provenance: https://api.github.com/repos/freiksenet/react-calendar/releases/592695"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 14 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T22:43:49.595Z","repository_id":21319522,"created_at":"2025-08-18T22:43:49.595Z","updated_at":"2025-08-18T22:43:49.595Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278561277,"owners_count":26006954,"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-06T02:00:05.630Z","response_time":65,"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":[],"created_at":"2024-07-30T19:01:35.675Z","updated_at":"2025-10-08T13:12:37.275Z","avatar_url":"https://github.com/freiksenet.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","Uncategorized","UI Components","Demos","\u003csummary\u003eUI Components\u003c/summary\u003e","DatePickers"],"sub_categories":["Uncategorized","Form Components"],"readme":"react-calendar\n==============\n[![NPM version][npm-image]][npm-url]\n[![Downloads][downloads-image]][downloads-url]\n\nCalendars for React v15.\n\nNot just calendar component, but a modular toolkit for building everything\nrelated to calendars in React, such as Datepickers.\n\nIn early alpha stage, documentation and features will arrive.\n\nExample\n-------\n\n```\nnpm install\nnpm run\n```\n\nOne year calendar ([Demo](http://freiksenet.github.io/react-calendar/)):\n\n```html\n\u003cCalendar startDate={ moment() }\n          endDate={ moment().endOf('year') } \u003c!-- Base calendar component --\u003e\n          weekNumbers={true}\n          size={12}\n          mods={\n            [                           \u003c!-- Pass modifier objects to change rendering --\u003e\n              {\n                date: moment(),\n                classNames: [ 'current' ],\n                component: [ 'day', 'month', 'week' ] \u003c!-- This shows the current day, week, and month. --\u003e\n              }\n            ]\n          }\n\n          /\u003e\n```\n\nEach component can be used separately ~~AND passed to other components to modify\nrendering.~~ We have deprecated this in favor of passing a more flexible modifier object.\n\n```html\n\u003cMonth date={moment()} /\u003e\n```\n\nIf a modifier is passed without date it modifies *all* components of this type in\nthe tree. Useful, for example, for passing callbacks.\n\n```html\n\u003cCalendar firstMonth={1}\n          date={moment(\"2014-01-01\")}\n          weekNumbers={true}\n          size={12}\n          startDate={ moment() }\n          endDate={ moment().endOf('year') } \u003c!-- Base calendar compoment --\u003e\n          weekNumbers={true}\n          size={12}\n          mods={\n            [\n              {\n                component: [ 'day' ],\n                events: {\n                  onClick: (date) =\u003e alert(date)\n                }\n              }\n            ]\n          } /\u003e\n```\n\nEvents\n------\n\nAll mouse and touch events are supported on all components with react style\nonCamelCase props (eg. onClick). Event handlers receives two arguments -\ndate in moment.js format and the original react event.\n\nStyling\n-------\n\nThere is no style by default, but an example theme using bootstrap is included\nin less/bootstrap-theme.less.\n\nreact-calendar uses SuitCSS style (a variant of BEM) to make default class hierarchy,\nif you want to add a class that is separate from that hierarchy just pass `classes`\nprop to any component. `classes` is an object with keys as class names and values as\nboolean-like values (this will be probably changed to just passing array of classes in\nfuture API). If you want to add SuitCSS modifier classes (eg `rc-Day--current`),\npass similar object via `modifiers` prop (again this will probably become an array\nin next version of API).\n\nFor example:\n\n```html\n\u003cDay date={moment()} mods={[{bar: true}]} /\u003e\n```\n\nwill yield the following classes: `\"rc-Day rc-Day--bar\".`\n\nTODO\n----\n\n- [ ] Merging of modifiers and classe\n- [ ] Docs\n- [ ] Calendar should be able to page\n- [ ] A component for Year - Calendar is supposed to be a 'controller' component for pageable stuff\n- [ ] A component that is on lower level that Day - for events.\n- [x] ~~Utils to create range of components for modifying multiple components easier~~\n- [ ] An example datepicker component using react-calendar\n- [x] ~~Basic unit tests~~\n- [ ] More Tests!\n\n[npm-image]: https://img.shields.io/npm/v/react-calendar.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/react-calendar\n[downloads-image]: https://img.shields.io/npm/dm/react-calendar.svg?style=flat-square\n[downloads-url]: https://npmjs.org/package/react-calendar\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreiksenet%2Freact-calendar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffreiksenet%2Freact-calendar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreiksenet%2Freact-calendar/lists"}