{"id":2246896,"name":"react-mobile-message","ecosystem":"npm","description":"\u003e 移动端react的消息弹层组件. ## 使用 ```js import \"react-mobile-message/assets/toast.css\" import \"react-mobile-message/assets/modal.css\" import {toast, alert, confirm} from '../src/index.jsx'; toast('测试toast消息测试toast消息'); alert({     title : function(){         let s","homepage":"https://github.com/caoren/react-mobile-message","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/caoren/react-mobile-message","keywords_array":["react","message","alert","toast","confirm","mobile"],"namespace":null,"versions_count":9,"first_release_published_at":"2016-11-29T03:18:44.343Z","latest_release_published_at":"2017-10-04T12:55:11.841Z","latest_release_number":"2.1.0","last_synced_at":"2026-08-09T12:00:56.017Z","created_at":"2022-04-09T23:05:21.024Z","updated_at":"2026-08-09T12:25:04.728Z","registry_url":"https://www.npmjs.com/package/react-mobile-message","install_command":"npm install react-mobile-message","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"2.1.0"},"contentPolicy":null},"repo_metadata":{"id":57334675,"uuid":"74969670","full_name":"caoren/react-mobile-message","owner":"caoren","description":"移动端react的消息弹窗组件","archived":false,"fork":false,"pushed_at":"2017-10-04T12:55:37.000Z","size":168,"stargazers_count":7,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2026-04-04T18:54:54.162Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/caoren.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":"2016-11-28T12:11:43.000Z","updated_at":"2022-09-28T06:00:56.000Z","dependencies_parsed_at":"2022-09-11T01:51:17.811Z","dependency_job_id":null,"html_url":"https://github.com/caoren/react-mobile-message","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/caoren/react-mobile-message","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caoren%2Freact-mobile-message","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caoren%2Freact-mobile-message/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caoren%2Freact-mobile-message/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caoren%2Freact-mobile-message/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/caoren","download_url":"https://codeload.github.com/caoren/react-mobile-message/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caoren%2Freact-mobile-message/sbom","scorecard":{"id":264900,"data":{"date":"2025-08-11","repo":{"name":"github.com/caoren/react-mobile-message","commit":"15ae3a49dad5a936e7c31ccd427291927ed3ef21"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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":"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":"Code-Review","score":0,"reason":"Found 0/15 approved changesets -- score normalized to 0","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":"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":"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":"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":"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":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"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":"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":"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"}}]},"last_synced_at":"2025-08-17T11:44:37.756Z","repository_id":57334675,"created_at":"2025-08-17T11:44:37.756Z","updated_at":"2025-08-17T11:44:37.756Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":36453462,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-06T04:43:03.162Z","status":"online","status_checked_at":"2026-08-09T02:00:06.528Z","response_time":130,"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"},"owner_record":{"login":"caoren","name":"cao ren","uuid":"1974273","kind":"user","description":"","email":"","website":null,"location":"HangZhou China","twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/1974273?u=b5c951b34efc87b3ee87ac3d4281668478e87e03\u0026v=4","repositories_count":8,"last_synced_at":"2023-03-27T12:22:19.670Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/caoren","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-04T02:24:23.157Z","updated_at":"2023-03-27T12:22:19.780Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/caoren","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/caoren/repositories"},"tags":[{"name":"2.1.0","sha":"15ae3a49dad5a936e7c31ccd427291927ed3ef21","kind":"tag","published_at":"2017-10-04T12:56:58.000Z","download_url":"https://codeload.github.com/caoren/react-mobile-message/tar.gz/2.1.0","html_url":"https://github.com/caoren/react-mobile-message/releases/tag/2.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/caoren/react-mobile-message@2.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caoren%2Freact-mobile-message/tags/2.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caoren%2Freact-mobile-message/tags/2.1.0/manifests"},{"name":"2.0.0","sha":"ada922b36c6f60297ad76bfdc1a64235cecd444c","kind":"tag","published_at":"2017-06-04T10:14:40.000Z","download_url":"https://codeload.github.com/caoren/react-mobile-message/tar.gz/2.0.0","html_url":"https://github.com/caoren/react-mobile-message/releases/tag/2.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/caoren/react-mobile-message@2.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caoren%2Freact-mobile-message/tags/2.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caoren%2Freact-mobile-message/tags/2.0.0/manifests"},{"name":"1.2.3","sha":"67d92f5cdfd2e9c62462ce8f87223f880315236e","kind":"tag","published_at":"2017-04-13T14:23:21.000Z","download_url":"https://codeload.github.com/caoren/react-mobile-message/tar.gz/1.2.3","html_url":"https://github.com/caoren/react-mobile-message/releases/tag/1.2.3","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/caoren/react-mobile-message@1.2.3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caoren%2Freact-mobile-message/tags/1.2.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caoren%2Freact-mobile-message/tags/1.2.3/manifests"},{"name":"1.2.2","sha":"88e730dc9a77575096808cf3a0c869ac70d76084","kind":"tag","published_at":"2017-04-13T14:03:49.000Z","download_url":"https://codeload.github.com/caoren/react-mobile-message/tar.gz/1.2.2","html_url":"https://github.com/caoren/react-mobile-message/releases/tag/1.2.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/caoren/react-mobile-message@1.2.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caoren%2Freact-mobile-message/tags/1.2.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caoren%2Freact-mobile-message/tags/1.2.2/manifests"},{"name":"1.2.1","sha":"a8bb30be55c144d180cb4a254bed5e44a2833bef","kind":"tag","published_at":"2017-04-13T12:00:26.000Z","download_url":"https://codeload.github.com/caoren/react-mobile-message/tar.gz/1.2.1","html_url":"https://github.com/caoren/react-mobile-message/releases/tag/1.2.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/caoren/react-mobile-message@1.2.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caoren%2Freact-mobile-message/tags/1.2.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caoren%2Freact-mobile-message/tags/1.2.1/manifests"},{"name":"1.2.0","sha":"3ab0a95492fad53ccb794597997a87a65fe5b9c8","kind":"tag","published_at":"2017-04-13T11:44:02.000Z","download_url":"https://codeload.github.com/caoren/react-mobile-message/tar.gz/1.2.0","html_url":"https://github.com/caoren/react-mobile-message/releases/tag/1.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/caoren/react-mobile-message@1.2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caoren%2Freact-mobile-message/tags/1.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caoren%2Freact-mobile-message/tags/1.2.0/manifests"},{"name":"1.1.1","sha":"589c3a87264d616dacd6cedd1496c93f46b4c072","kind":"tag","published_at":"2017-03-16T14:08:37.000Z","download_url":"https://codeload.github.com/caoren/react-mobile-message/tar.gz/1.1.1","html_url":"https://github.com/caoren/react-mobile-message/releases/tag/1.1.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/caoren/react-mobile-message@1.1.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caoren%2Freact-mobile-message/tags/1.1.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caoren%2Freact-mobile-message/tags/1.1.1/manifests"},{"name":"1.1.0","sha":"4312187df5bbaae5e5a4533bb1341dbdff8087ff","kind":"tag","published_at":"2017-01-07T16:07:18.000Z","download_url":"https://codeload.github.com/caoren/react-mobile-message/tar.gz/1.1.0","html_url":"https://github.com/caoren/react-mobile-message/releases/tag/1.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/caoren/react-mobile-message@1.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caoren%2Freact-mobile-message/tags/1.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caoren%2Freact-mobile-message/tags/1.1.0/manifests"},{"name":"1.0.0","sha":"138fb8b6d7c40ee62fc6dfd27ff3b112f213c608","kind":"tag","published_at":"2016-11-29T03:17:03.000Z","download_url":"https://codeload.github.com/caoren/react-mobile-message/tar.gz/1.0.0","html_url":"https://github.com/caoren/react-mobile-message/releases/tag/1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/caoren/react-mobile-message@1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caoren%2Freact-mobile-message/tags/1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caoren%2Freact-mobile-message/tags/1.0.0/manifests"}]},"repo_metadata_updated_at":"2026-08-09T12:25:04.728Z","dependent_packages_count":2,"downloads":18,"downloads_period":"last-month","dependent_repos_count":1,"rankings":{"downloads":29.95450210943228,"dependent_repos_count":10.393268641254942,"dependent_packages_count":8.899318548586006,"stargazers_count":10.495361465208735,"forks_count":9.884752260346856,"docker_downloads_count":null,"average":13.925440604965763},"purl":"pkg:npm/react-mobile-message","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/react-mobile-message","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/react-mobile-message","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/react-mobile-message/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-10T20:27:44.170Z","issues_count":1,"pull_requests_count":0,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":null,"issues_closed_count":0,"pull_requests_closed_count":0,"pull_request_authors_count":0,"issue_authors_count":1,"avg_comments_per_issue":2.0,"avg_comments_per_pull_request":null,"merged_pull_requests_count":0,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/caoren%2Freact-mobile-message/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/react-mobile-message/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/react-mobile-message/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/react-mobile-message/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/react-mobile-message/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/react-mobile-message/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/react-mobile-message/codemeta","maintainers":[{"uuid":"caor1987","login":"caor1987","name":null,"email":"caor1987@gmail.com","url":null,"packages_count":12,"html_url":"https://www.npmjs.com/~caor1987","role":null,"created_at":"2022-11-14T02:14:38.818Z","updated_at":"2022-11-14T02:14:38.818Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/caor1987/packages"}]}