{"id":17026081,"url":"https://github.com/minwork/use-long-press","last_synced_at":"2026-04-13T02:30:16.876Z","repository":{"id":42016473,"uuid":"256760254","full_name":"minwork/use-long-press","owner":"minwork","description":"React hook for detecting click (or tap) and hold event","archived":true,"fork":false,"pushed_at":"2023-08-20T20:47:13.000Z","size":1620,"stargazers_count":122,"open_issues_count":3,"forks_count":12,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-14T07:32:07.782Z","etag":null,"topics":["hooks","mouse-events","react","reactjs","touch-events","typescript"],"latest_commit_sha":null,"homepage":null,"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/minwork.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":"minwork","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2020-04-18T13:27:11.000Z","updated_at":"2024-09-28T04:03:48.000Z","dependencies_parsed_at":"2024-10-14T07:31:58.218Z","dependency_job_id":"6d59e8d5-dca2-481b-8218-1ef8302079f2","html_url":"https://github.com/minwork/use-long-press","commit_stats":{"total_commits":71,"total_committers":2,"mean_commits":35.5,"dds":"0.22535211267605637","last_synced_commit":"c56dfc9c4806f50004bef5249cefc7e81a4c8c44"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minwork%2Fuse-long-press","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minwork%2Fuse-long-press/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minwork%2Fuse-long-press/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minwork%2Fuse-long-press/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/minwork","download_url":"https://codeload.github.com/minwork/use-long-press/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239997440,"owners_count":19731406,"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":["hooks","mouse-events","react","reactjs","touch-events","typescript"],"created_at":"2024-10-14T07:30:26.523Z","updated_at":"2026-04-13T02:30:16.771Z","avatar_url":"https://github.com/minwork.png","language":"TypeScript","funding_links":["https://github.com/sponsors/minwork"],"categories":["TypeScript"],"sub_categories":[],"readme":"# React Long Press Hook :point_down:\n\n\u003e React hook for detecting click (or tap) and hold event.\n\n[![Build Status](https://travis-ci.com/minwork/use-long-press.svg?branch=master)](https://travis-ci.com/minwork/use-long-press)\n![Codecov](https://img.shields.io/codecov/c/gh/minwork/use-long-press)\n![npm type definitions](https://img.shields.io/npm/types/use-long-press)\n![npm bundle size](https://img.shields.io/bundlephobia/min/use-long-press)\n[![npm](https://img.shields.io/npm/v/use-long-press)](https://www.npmjs.com/package/use-long-press)\n[![Github Stars](https://img.shields.io/github/stars/minwork/use-long-press?style=social)](https://github.com/minwork/use-long-press)\n\n- Easy to use\n- Highly customizable options\n- Thoroughly tested\n\n\n## ⚠️ New repository\n\nThis package has been moved to [Minwork's React Libraries](https://github.com/minwork/react) which is a common place for different react hooks and components.\n\n## 🎉 Version 3 is now available!\n\nVersion 1 and 2 is now deprecated ([explanation](https://minwork.gitbook.io/long-press-hook/architectural-decisions/v1-and-v2-deprecation)).\n\nUse `yarn add use-long-press@latest` or `npm install --save use-long-press@latest` to install it.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminwork%2Fuse-long-press","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fminwork%2Fuse-long-press","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminwork%2Fuse-long-press/lists"}