{"id":30340543,"url":"https://github.com/srinath10x/expo-doodle","last_synced_at":"2025-08-18T08:12:06.852Z","repository":{"id":273402400,"uuid":"919571772","full_name":"Srinath10X/expo-doodle","owner":"Srinath10X","description":" A simple and minimal drawing library for Expo.","archived":false,"fork":false,"pushed_at":"2025-01-22T06:23:40.000Z","size":8,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-04T05:17:37.675Z","etag":null,"topics":["drawing","expo","npm-package","react-native"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/Srinath10X.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":"2025-01-20T16:28:25.000Z","updated_at":"2025-07-22T08:33:38.000Z","dependencies_parsed_at":"2025-01-20T18:29:20.243Z","dependency_job_id":null,"html_url":"https://github.com/Srinath10X/expo-doodle","commit_stats":null,"previous_names":["srinath10x/expo-doodle"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Srinath10X/expo-doodle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Srinath10X%2Fexpo-doodle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Srinath10X%2Fexpo-doodle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Srinath10X%2Fexpo-doodle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Srinath10X%2Fexpo-doodle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Srinath10X","download_url":"https://codeload.github.com/Srinath10X/expo-doodle/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Srinath10X%2Fexpo-doodle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270962404,"owners_count":24675966,"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-18T02:00:08.743Z","response_time":89,"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":["drawing","expo","npm-package","react-native"],"created_at":"2025-08-18T08:12:06.219Z","updated_at":"2025-08-18T08:12:06.831Z","avatar_url":"https://github.com/Srinath10X.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# expo-doodle\n\nA simple and minimal drawing library for Expo.\n\n## Installation\n\nTo install `expo-doodle`, run the following command:\n\n```bash\nnpm install expo-doodle\n```\n\n## Usage\n\nHere is a simple example to get started:\n\n```javascript\nimport { useRef } from \"react\";\nimport { View, Button } from \"react-native\";\nimport ExpoDoodle from \"expo-doodle\";\n\nconst App = () =\u003e {\n  const undoRef = useRef(() =\u003e {});\n  const clearRef = useRef(() =\u003e {});\n\n  return (\n    \u003cView style={{ flex: 1 }}\u003e\n      \u003cExpoDoodle\n        strokeWidth={4}\n        color={\"black\"}\n        clear={(clear) =\u003e (clearRef.current = clear)}\n        undo={(undo) =\u003e (undoRef.current = undo)}\n      /\u003e\n      \u003cButton title=\"Undo\" onPress={() =\u003e undoRef.current()} /\u003e\n      \u003cButton title=\"Clear\" onPress={() =\u003e clearRef.current()} /\u003e\n    \u003c/View\u003e\n  );\n};\n\nexport default App;\n```\n\n## Props\n\n| Prop              | Type     | Default     | Description                                |\n| ----------------- | -------- | ----------- | ------------------------------------------ |\n| `containerStyles` | `object` | `{}`        | Custom styles for the canvas container.    |\n| `color`           | `string` | `#000`      | The color of the brush.                    |\n| `strokeWidth`     | `number` | `4`         | The size of the brush in pixels.           |\n| `undo`            | `func`   | `undefined` | Callback function to undo the last action. |\n| `clear`           | `func`   | `undefined` | Callback function to clear the canvas.     |\n\n## Compatibility\n\n`expo-doodle` is compatible with Expo SDK 49 and above. It works well on both Android and iOS devices.\n\n## Contributing\n\nContributions are welcome! If you have a feature request, bug report, or would like to contribute to the codebase, please open an issue or submit a pull request.\n\n## License\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrinath10x%2Fexpo-doodle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsrinath10x%2Fexpo-doodle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrinath10x%2Fexpo-doodle/lists"}