{"id":16795826,"url":"https://github.com/mrvautin/downa","last_synced_at":"2025-03-22T01:30:58.533Z","repository":{"id":42300602,"uuid":"123733478","full_name":"mrvautin/downa","owner":"mrvautin","description":"A teeny tiny Markdown to HTML renderer which works in Node and the browser.","archived":false,"fork":false,"pushed_at":"2022-12-01T23:31:14.000Z","size":719,"stargazers_count":23,"open_issues_count":11,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-18T06:51:28.957Z","etag":null,"topics":["html","markdown","markdown-converter","markdown-parser","regex","renderer"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/mrvautin.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":"2018-03-03T21:36:29.000Z","updated_at":"2025-02-20T16:17:11.000Z","dependencies_parsed_at":"2023-01-23T21:16:52.879Z","dependency_job_id":null,"html_url":"https://github.com/mrvautin/downa","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrvautin%2Fdowna","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrvautin%2Fdowna/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrvautin%2Fdowna/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrvautin%2Fdowna/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrvautin","download_url":"https://codeload.github.com/mrvautin/downa/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244893382,"owners_count":20527583,"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":["html","markdown","markdown-converter","markdown-parser","regex","renderer"],"created_at":"2024-10-13T09:17:31.563Z","updated_at":"2025-03-22T01:30:58.205Z","avatar_url":"https://github.com/mrvautin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# downa\n\n\u003e A teeny tiny (2KB) Markdown to HTML renderer which works in Node and the browser.\n\n## Installation:\n\n`downa` works in the browser and Node.js.\n\n`npm i downa --save`\n\n### Browser:\n\n`\u003cscript src='./node_modules/downa/dist/downa.min.js'\u003e\u003c/script\u003e`\n\nor CDN\n\n`\u003cscript src='https://unpkg.com/downa@1.0.1/dist/downa.min.js'\u003e\u003c/script\u003e`\n\n\u003e Note: no other dependencies are required. See: test.html for example\n\n## Usage:\n\n### Node:\n\n``` javascript\nconst downa = require('downa');\n\nconst md = `\n# Title\n\nAnd *now* [a link](http://www.google.com) to **follow** and [another](http://yahoo.com/).\n\n* One\n* Two\n* Three\n\n## Subhead`;\n\nconst html = downa.render(md);\nconsole.log('HTML', html);\n```\n\n### Browser:\n\n``` javascript\n\u003cscript src='https://unpkg.com/downa@1.0.1/dist/downa.min.js'\u003e\u003c/script\u003e\n\u003cscript\u003e\ndocument.addEventListener(\"DOMContentLoaded\", function() {\n    var markdown = `\n        # Title\n\n        And *now* [a link](http://www.google.com) to **follow** and [another](http://yahoo.com/).\n\n        * One\n        * Two\n        * Three\n\n        ## Subhead`;\n    var html = downa.render(markdown);\n    console.log('HTML', html);\n});\n\u003c/script\u003e\n```\n\n### Example:\n\n[See fiddle](https://jsfiddle.net/mrvautin/zed49ajn/4/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrvautin%2Fdowna","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrvautin%2Fdowna","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrvautin%2Fdowna/lists"}