{"id":15130940,"url":"https://github.com/numandev1/react-native-usemarkdown-chat","last_synced_at":"2026-05-05T23:32:59.549Z","repository":{"id":132998605,"uuid":"409925668","full_name":"numandev1/react-native-usemarkdown-chat","owner":"numandev1","description":"hook for chats markdown in Textinput","archived":false,"fork":false,"pushed_at":"2021-09-30T06:49:37.000Z","size":1035,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-24T21:25:44.360Z","etag":null,"topics":["bold","chat","editor","hook","italc","markdown","markdown-editor","underline"],"latest_commit_sha":null,"homepage":"https://614db906865efbc908490c6f--react-native-usemarkdown-chat-hook.netlify.app/","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/numandev1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"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}},"created_at":"2021-09-24T10:36:48.000Z","updated_at":"2024-12-19T05:45:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"0e1570f9-7e8d-4973-bf2a-5f534e88bf4b","html_url":"https://github.com/numandev1/react-native-usemarkdown-chat","commit_stats":{"total_commits":5,"total_committers":1,"mean_commits":5.0,"dds":0.0,"last_synced_commit":"2fbb15bb07fe2d8ad395c9df0b68a6d1e26e5173"},"previous_names":["nomi9995/react-native-usemarkdown-chat"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/numandev1/react-native-usemarkdown-chat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numandev1%2Freact-native-usemarkdown-chat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numandev1%2Freact-native-usemarkdown-chat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numandev1%2Freact-native-usemarkdown-chat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numandev1%2Freact-native-usemarkdown-chat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/numandev1","download_url":"https://codeload.github.com/numandev1/react-native-usemarkdown-chat/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numandev1%2Freact-native-usemarkdown-chat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32672672,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-05T11:29:49.557Z","status":"ssl_error","status_checked_at":"2026-05-05T11:29:48.587Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bold","chat","editor","hook","italc","markdown","markdown-editor","underline"],"created_at":"2024-09-26T03:08:45.119Z","updated_at":"2026-05-05T23:32:59.528Z","avatar_url":"https://github.com/numandev1.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- Title --\u003e\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"/assets/icon.png\" alt=\"alt text\" width=\"150\" style=\"padding-top: 16px; padding-bottom: 16px;\" /\u003e\n\u003c/p\u003e\n\n\u003c!-- Header --\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cb\u003euse bold, italic and underline markdown for chat while typing\u003c/b\u003e\n  \u003cbr /\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg width=\"350\" src=\"/assets/demo.gif\"\u003e\n\u003c/p\u003e\n\n# [Demo](https://614db906865efbc908490c6f--react-native-usemarkdown-chat-hook.netlify.app/)\n\n## Installation\n\n```sh\nnpm install react-native-usemarkdown-chat\n```\n\n## Usage\n\n```js\nimport useMarkdown, { textToMarkdown } from 'react-native-usemarkdown-chat';\n\n// ...\n\nconst [text, setText] = useMarkdown();\n```\n\n**textToMarkdown** function is not hook it is basically text to markdown converter. you can use this for making own custom useState.\n\n## Example Code\n\n```js\nimport * as React from 'react';\n\nimport { StyleSheet, View, TextInput } from 'react-native';\nimport useMarkdown from 'react-native-usemarkdown-chat';\n\nexport default function App() {\n  const [text, setText] = useMarkdown();\n  return (\n    \u003cView style={styles.container}\u003e\n      \u003cTextInput style={styles.input} value={text} onChangeText={setText} /\u003e\n    \u003c/View\u003e\n  );\n}\n\nconst styles = StyleSheet.create({\n  container: {\n    flex: 1,\n    alignItems: 'center',\n    justifyContent: 'center',\n  },\n  input: {\n    width: '100%',\n    height: 100,\n    backgroundColor: 'gray',\n    fontSize: 30,\n  },\n});\n```\n\n## Contributing\n\nSee the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnumandev1%2Freact-native-usemarkdown-chat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnumandev1%2Freact-native-usemarkdown-chat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnumandev1%2Freact-native-usemarkdown-chat/lists"}