{"id":18148393,"url":"https://github.com/tinymins/viewerjs-react","last_synced_at":"2025-08-22T07:13:34.937Z","repository":{"id":57392442,"uuid":"325927023","full_name":"tinymins/viewerjs-react","owner":"tinymins","description":"React wrapper for viewerjs.","archived":false,"fork":false,"pushed_at":"2021-01-05T15:26:55.000Z","size":392,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-31T00:12:12.488Z","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/tinymins.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}},"created_at":"2021-01-01T06:11:12.000Z","updated_at":"2024-03-28T13:23:44.000Z","dependencies_parsed_at":"2022-09-19T20:14:37.436Z","dependency_job_id":null,"html_url":"https://github.com/tinymins/viewerjs-react","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tinymins/viewerjs-react","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinymins%2Fviewerjs-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinymins%2Fviewerjs-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinymins%2Fviewerjs-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinymins%2Fviewerjs-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tinymins","download_url":"https://codeload.github.com/tinymins/viewerjs-react/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinymins%2Fviewerjs-react/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271601638,"owners_count":24788093,"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-08-22T02:00:08.480Z","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-11-01T23:08:31.408Z","updated_at":"2025-08-22T07:13:34.907Z","avatar_url":"https://github.com/tinymins.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# viewerjs-react\n\n\u003e Typescript supported react wrapper for viewerjs.\n\n[![NPM](https://img.shields.io/npm/v/viewerjs-react.svg)](https://www.npmjs.com/package/viewerjs-react) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n\n## Install\n\n```bash\nnpm install --save viewerjs@^1.9.0 viewerjs-react\n```\n\n## Usage\n\n```tsx\nimport React, { Component } from 'react'\n\nimport RViewerJS from 'viewerjs-react'\nimport 'viewerjs-react/dist/index.css'\n\nclass Example extends Component {\n  render() {\n    return \u003cRViewerJS\u003e\n      \u003cimg src=\"xxx\" /\u003e\n    \u003c/RViewerJS\u003e\n  }\n}\n```\n\n## Props\n\n### options\n\nWill passby to viewerjs. See [ViewerJS Options Document](https://github.com/fengyuanchen/viewerjs/blob/master/README.md#options).\n\n## License\n\nMIT © [tinymins](https://github.com/tinymins)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinymins%2Fviewerjs-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftinymins%2Fviewerjs-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinymins%2Fviewerjs-react/lists"}