{"id":30899003,"url":"https://github.com/bendtherules/react-to-markdown","last_synced_at":"2026-04-12T11:46:22.117Z","repository":{"id":41747130,"uuid":"228065051","full_name":"bendtherules/react-to-markdown","owner":"bendtherules","description":"React custom renderer that outputs to markdown string","archived":false,"fork":false,"pushed_at":"2023-01-05T03:02:26.000Z","size":952,"stargazers_count":0,"open_issues_count":12,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-09T02:20:30.890Z","etag":null,"topics":["markdown","react","react-renderer"],"latest_commit_sha":null,"homepage":"","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/bendtherules.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":"2019-12-14T17:52:30.000Z","updated_at":"2019-12-26T07:11:45.000Z","dependencies_parsed_at":"2023-02-03T07:30:58.779Z","dependency_job_id":null,"html_url":"https://github.com/bendtherules/react-to-markdown","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bendtherules/react-to-markdown","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendtherules%2Freact-to-markdown","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendtherules%2Freact-to-markdown/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendtherules%2Freact-to-markdown/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendtherules%2Freact-to-markdown/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bendtherules","download_url":"https://codeload.github.com/bendtherules/react-to-markdown/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendtherules%2Freact-to-markdown/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279010250,"owners_count":26084718,"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-10-12T02:00:06.719Z","response_time":53,"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":["markdown","react","react-renderer"],"created_at":"2025-09-09T02:07:27.566Z","updated_at":"2025-10-12T04:13:50.120Z","avatar_url":"https://github.com/bendtherules.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/{{github-user-name}}/{{github-app-name}}.svg?branch=master)](https://travis-ci.org/{{github-user-name}}/{{github-app-name}}.svg?branch=master)\n[![Coverage Status](https://coveralls.io/repos/github/{{github-user-name}}/{{github-app-name}}/badge.svg?branch=master)](https://coveralls.io/github/{{github-user-name}}/{{github-app-name}}?branch=master)\n[![MIT license](http://img.shields.io/badge/license-MIT-brightgreen.svg)](http://opensource.org/licenses/MIT)\n\n# Using this module in other modules\n\nHere is a quick example of how this module can be used in other modules. The [TypeScript Module Resolution Logic](https://www.typescriptlang.org/docs/handbook/module-resolution.html) makes it quite easy. The file `src/index.ts` is a [barrel](https://basarat.gitbooks.io/typescript/content/docs/tips/barrel.html) that re-exports selected exports from other files. The _package.json_ file contains `main` attribute that points to the generated `lib/index.js` file and `typings` attribute that points to the generated `lib/index.d.ts` file.\n\n\u003e If you are planning to have code in multiple files (which is quite natural for a NodeJS module) that users can import, make sure you update `src/index.ts` file appropriately.\n\nNow assuming you have published this amazing module to _npm_ with the name `my-amazing-lib`, and installed it in the module in which you need it -\n\n- To use the `Greeter` class in a TypeScript file -\n\n```ts\nimport { Greeter } from \"my-amazing-lib\";\n\nconst greeter = new Greeter(\"World!\");\ngreeter.greet();\n```\n\n- To use the `Greeter` class in a JavaScript file -\n\n```js\nconst Greeter = require('my-amazing-lib').Greeter;\n\nconst greeter = new Greeter('World!');\ngreeter.greet();\n```\n\n## Setting travis and coveralls badges\n1. Sign in to [travis](https://travis-ci.org/) and activate the build for your project.\n2. Sign in to [coveralls](https://coveralls.io/) and activate the build for your project.\n3. Replace {{github-user-name}}/{{github-app-name}} with your repo details like: \"ospatil/generator-node-typescript\".\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbendtherules%2Freact-to-markdown","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbendtherules%2Freact-to-markdown","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbendtherules%2Freact-to-markdown/lists"}