{"id":22974758,"url":"https://github.com/diversen/turndown-bin","last_synced_at":"2026-03-20T00:06:22.192Z","repository":{"id":220787764,"uuid":"752584833","full_name":"diversen/turndown-bin","owner":"diversen","description":null,"archived":false,"fork":false,"pushed_at":"2024-02-04T21:06:00.000Z","size":38,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-04-14T09:08:27.448Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/diversen.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-04T09:24:17.000Z","updated_at":"2024-03-24T15:53:01.000Z","dependencies_parsed_at":"2024-02-04T11:03:34.950Z","dependency_job_id":"b3babfee-e2f7-4bd3-8be4-113864d9f9a3","html_url":"https://github.com/diversen/turndown-bin","commit_stats":null,"previous_names":["diversen/turndown-bin"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diversen%2Fturndown-bin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diversen%2Fturndown-bin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diversen%2Fturndown-bin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diversen%2Fturndown-bin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/diversen","download_url":"https://codeload.github.com/diversen/turndown-bin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246771794,"owners_count":20831104,"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","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-12-15T00:01:01.017Z","updated_at":"2026-01-11T22:59:52.839Z","avatar_url":"https://github.com/diversen.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# turndown-bin\n\nSimple CLI wrapper using `turndown` to transform `html` into `markdown`\n\nTurndown can be found on [https://github.com/mixmark-io/turndown](https://github.com/mixmark-io/turndown)\n\n### Install\n\n```sh\nnpm install -g turndown-bin\n```\n\n### Usage\n\nDefault options: \n\n```sh\nturndown-bin --in tests/example.html --out tests/markdown.md\n```\n\nFrom a URL:\n\n```sh\nturndown-bin --in https://github.com --out tests/markdown.md\n```\n\nYou may add a JSON config file for settings special options. \n\nInformation about the options can be found on: [https://github.com/mixmark-io/turndown/tree/master#options](https://github.com/mixmark-io/turndown/tree/master#options)\n\nThis is the default options: \n\n```json\n{\n    \"headingStyle\": \"setext\",\n    \"hr\": \"* * *\",\n    \"bulletListMarker\": \"*\",\n    \"codeBlockStyle\": \"indented\",\n    \"fence\": \"```\",\n    \"emDelimiter\": \"_\",\n    \"strongDelimiter\": \"**\",\n    \"linkStyle\": \"inlined\",\n    \"linkReferenceStyle\": \"full\",\n    \"preformattedCode\": false\n}\n```\n\nUsage with options:\n\n```sh\nturndown-bin --in tests/example.html --out tests/markdown.md --config config.json\n```\n\n### License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiversen%2Fturndown-bin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiversen%2Fturndown-bin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiversen%2Fturndown-bin/lists"}