{"id":17472478,"url":"https://github.com/sleeplessbyte/react-native-use-timestamp","last_synced_at":"2026-06-19T09:31:10.070Z","repository":{"id":38851839,"uuid":"377614048","full_name":"SleeplessByte/react-native-use-timestamp","owner":"SleeplessByte","description":"Hooks that re-renders every x milliseconds and returns the current timestamp","archived":false,"fork":false,"pushed_at":"2023-05-19T12:24:50.000Z","size":3887,"stargazers_count":2,"open_issues_count":8,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-18T19:47:30.647Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/SleeplessByte.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-06-16T20:04:16.000Z","updated_at":"2022-02-26T16:43:38.000Z","dependencies_parsed_at":"2024-11-14T07:18:20.220Z","dependency_job_id":null,"html_url":"https://github.com/SleeplessByte/react-native-use-timestamp","commit_stats":{"total_commits":16,"total_committers":2,"mean_commits":8.0,"dds":0.3125,"last_synced_commit":"d731a1a0a5c62083d26d6f1803cbfc8288852c1d"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/SleeplessByte/react-native-use-timestamp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SleeplessByte%2Freact-native-use-timestamp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SleeplessByte%2Freact-native-use-timestamp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SleeplessByte%2Freact-native-use-timestamp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SleeplessByte%2Freact-native-use-timestamp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SleeplessByte","download_url":"https://codeload.github.com/SleeplessByte/react-native-use-timestamp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SleeplessByte%2Freact-native-use-timestamp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34526065,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-19T02:00:06.005Z","response_time":61,"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-10-18T17:18:48.166Z","updated_at":"2026-06-19T09:31:10.044Z","avatar_url":"https://github.com/SleeplessByte.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-native-use-timestamp\n\nThis package provides a hook to give the current timestamp, but only when the application is not running any interactions.\n\n## Installation\n\n```bash\nyarn add react-native-use-timestamp\n```\n\nEven though this package is _meant_ for the `react-native` ecosystem, it has bundles for CJS, ES, UMD, and modern browsers.\n\n## Usage\n\n```typescript\n// Runs callback every number_of_milliseconds\nconst now = useInaccurateTimestamp(callback, { every: number_of_milliseconds })\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsleeplessbyte%2Freact-native-use-timestamp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsleeplessbyte%2Freact-native-use-timestamp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsleeplessbyte%2Freact-native-use-timestamp/lists"}