{"_id":"render-readme","_rev":"2224898","name":"render-readme","description":"render and sanitize readme.md just like github would","dist-tags":{"latest":"1.3.1"},"maintainers":[{"name":"rlidwka","email":""}],"time":{"modified":"2022-01-08T16:02:40.000Z","created":"2014-12-01T17:58:15.309Z","1.3.1":"2015-07-11T21:47:13.178Z","1.3.0":"2015-03-28T17:02:23.800Z","1.2.0":"2015-02-27T19:48:57.273Z","1.1.0":"2015-01-26T10:10:37.435Z","1.0.1":"2014-12-28T21:09:11.024Z","1.0.0":"2014-12-25T15:47:58.776Z","0.2.3":"2014-12-21T17:50:44.237Z","0.2.2":"2014-12-14T21:12:18.519Z","0.2.1":"2014-12-01T18:07:56.510Z","0.2.0":"2014-12-01T17:58:15.309Z"},"users":{"hckhanh":true,"denji":true},"author":{"name":"Alex Kocharin","email":"alex@kocharin.ru"},"repository":{"type":"git","url":"git://github.com/rlidwka/render-readme"},"versions":{"1.3.1":{"name":"render-readme","version":"1.3.1","description":"render and sanitize readme.md just like github would","author":{"name":"Alex Kocharin","email":"alex@kocharin.ru"},"repository":{"type":"git","url":"git://github.com/rlidwka/render-readme"},"dependencies":{"markdown-it":"4.x","sanitize-html":"1.x >=1.4","js-yaml":"3.x >=3.2","highlight.js":"8.x"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"license":"MIT","gitHead":"6b74013ce0388f962a27ae487bc55a5f25b2b9f1","bugs":{"url":"https://github.com/rlidwka/render-readme/issues"},"homepage":"https://github.com/rlidwka/render-readme","_id":"render-readme@1.3.1","scripts":{},"_shasum":"d2a98f9a87dd64fa73c6877ac5c45b0f6341a797","_from":".","_npmVersion":"2.0.1","_nodeVersion":"2.2.1","_npmUser":{"name":"rlidwka","email":"alex@kocharin.ru"},"maintainers":[{"name":"rlidwka","email":""}],"dist":{"shasum":"d2a98f9a87dd64fa73c6877ac5c45b0f6341a797","size":7383,"noattachment":false,"key":"/render-readme/-/render-readme-1.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/render-readme/download/render-readme-1.3.1.tgz"},"directories":{},"publish_time":1436651233178,"_cnpm_publish_time":1436651233178,"_hasShrinkwrap":false},"1.3.0":{"name":"render-readme","version":"1.3.0","description":"render and sanitize readme.md just like github would","author":{"name":"Alex Kocharin","email":"alex@kocharin.ru"},"repository":{"type":"git","url":"git://github.com/rlidwka/render-readme"},"dependencies":{"markdown-it":"4.x","sanitize-html":"1.x >=1.4","js-yaml":"3.x >=3.2","highlight.js":"8.x"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"license":"MIT","gitHead":"1bc40c7388a6b00cc3f6f30cb6a0cf8a49bf4b07","bugs":{"url":"https://github.com/rlidwka/render-readme/issues"},"homepage":"https://github.com/rlidwka/render-readme","_id":"render-readme@1.3.0","scripts":{},"_shasum":"b3c766ba8688cb46005e0fd7233aa5a236a09501","_from":".","_npmVersion":"2.0.1","_nodeVersion":"1.1.1","_npmUser":{"name":"rlidwka","email":"alex@kocharin.ru"},"maintainers":[{"name":"rlidwka","email":""}],"dist":{"shasum":"b3c766ba8688cb46005e0fd7233aa5a236a09501","size":7333,"noattachment":false,"key":"/render-readme/-/render-readme-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/render-readme/download/render-readme-1.3.0.tgz"},"directories":{},"publish_time":1427562143800,"_cnpm_publish_time":1427562143800,"_hasShrinkwrap":false},"1.2.0":{"name":"render-readme","version":"1.2.0","description":"render and sanitize readme.md just like github would","author":{"name":"Alex Kocharin","email":"alex@kocharin.ru"},"repository":{"type":"git","url":"git://github.com/rlidwka/render-readme"},"dependencies":{"markdown-it":"3.x","sanitize-html":"1.x >=1.4","js-yaml":"3.x >=3.2","highlight.js":"8.x"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"license":"MIT","gitHead":"5b45295e8d94f2c5f62647c98a2fcdbe069c1787","bugs":{"url":"https://github.com/rlidwka/render-readme/issues"},"homepage":"https://github.com/rlidwka/render-readme","_id":"render-readme@1.2.0","scripts":{},"_shasum":"11ed7b4ff845f12ff23670111adf067c17d57707","_from":".","_npmVersion":"2.0.1","_nodeVersion":"1.1.1","_npmUser":{"name":"rlidwka","email":"alex@kocharin.ru"},"maintainers":[{"name":"rlidwka","email":""}],"dist":{"shasum":"11ed7b4ff845f12ff23670111adf067c17d57707","size":7575,"noattachment":false,"key":"/render-readme/-/render-readme-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/render-readme/download/render-readme-1.2.0.tgz"},"directories":{},"publish_time":1425066537273,"_cnpm_publish_time":1425066537273,"_hasShrinkwrap":false},"1.1.0":{"name":"render-readme","version":"1.1.0","description":"render and sanitize readme.md just like github would","author":{"name":"Alex Kocharin","email":"alex@kocharin.ru"},"repository":{"type":"git","url":"git://github.com/rlidwka/render-readme"},"dependencies":{"markdown-it":"3.x","sanitize-html":"1.x >=1.4","js-yaml":"3.x >=3.2","highlight.js":"8.x"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"license":"MIT","gitHead":"a5550392600f14795a2d6bea7d56278a4212e18f","bugs":{"url":"https://github.com/rlidwka/render-readme/issues"},"homepage":"https://github.com/rlidwka/render-readme","_id":"render-readme@1.1.0","scripts":{},"_shasum":"fbeab405fab6e4d962b16888998ee3e4b2700689","_from":".","_npmVersion":"2.0.1","_nodeVersion":"0.11.15-pre","_npmUser":{"name":"rlidwka","email":"alex@kocharin.ru"},"maintainers":[{"name":"rlidwka","email":""}],"dist":{"shasum":"fbeab405fab6e4d962b16888998ee3e4b2700689","size":7615,"noattachment":false,"key":"/render-readme/-/render-readme-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/render-readme/download/render-readme-1.1.0.tgz"},"directories":{},"publish_time":1422267037435,"_cnpm_publish_time":1422267037435,"_hasShrinkwrap":false},"1.0.1":{"name":"render-readme","version":"1.0.1","description":"render and sanitize readme.md just like github would","author":{"name":"Alex Kocharin","email":"alex@kocharin.ru"},"repository":{"type":"git","url":"git://github.com/rlidwka/render-readme"},"dependencies":{"markdown-it":"2.x","sanitize-html":"1.x >=1.4","js-yaml":"3.x >=3.2","highlight.js":"8.x"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"license":"MIT","gitHead":"b8dbdf6d4e38adc0446c731732205d0db9f2e1d1","bugs":{"url":"https://github.com/rlidwka/render-readme/issues"},"homepage":"https://github.com/rlidwka/render-readme","_id":"render-readme@1.0.1","scripts":{},"_shasum":"5ede360de506fbdb9ce2ca380ecabb3f22cbdb70","_from":".","_npmVersion":"2.0.1","_nodeVersion":"0.11.15-pre","_npmUser":{"name":"rlidwka","email":"alex@kocharin.ru"},"maintainers":[{"name":"rlidwka","email":""}],"dist":{"shasum":"5ede360de506fbdb9ce2ca380ecabb3f22cbdb70","size":7110,"noattachment":false,"key":"/render-readme/-/render-readme-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/render-readme/download/render-readme-1.0.1.tgz"},"directories":{},"publish_time":1419800951024,"_cnpm_publish_time":1419800951024,"_hasShrinkwrap":false},"1.0.0":{"name":"render-readme","version":"1.0.0","description":"render and sanitize readme.md just like github would","author":{"name":"Alex Kocharin","email":"alex@kocharin.ru"},"repository":{"type":"git","url":"git://github.com/rlidwka/render-readme"},"dependencies":{"markdown-it":"2.x","sanitize-html":"1.x >=1.4","js-yaml":"3.x >=3.2","highlight.js":"8.x"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"license":"MIT","gitHead":"bae9fac647bb64a7398b29aaa1f7060622e6a1ea","bugs":{"url":"https://github.com/rlidwka/render-readme/issues"},"homepage":"https://github.com/rlidwka/render-readme","_id":"render-readme@1.0.0","scripts":{},"_shasum":"89558f87f521d7898ed284f08b456cdc9f3fdbd0","_from":".","_npmVersion":"2.0.1","_nodeVersion":"0.11.15-pre","_npmUser":{"name":"rlidwka","email":"alex@kocharin.ru"},"maintainers":[{"name":"rlidwka","email":""}],"dist":{"shasum":"89558f87f521d7898ed284f08b456cdc9f3fdbd0","size":7111,"noattachment":false,"key":"/render-readme/-/render-readme-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/render-readme/download/render-readme-1.0.0.tgz"},"directories":{},"publish_time":1419522478776,"_cnpm_publish_time":1419522478776,"_hasShrinkwrap":false},"0.2.3":{"name":"render-readme","version":"0.2.3","description":"render and sanitize readme.md just like github would","author":{"name":"Alex Kocharin","email":"alex@kocharin.ru"},"repository":{"type":"git","url":"git://github.com/rlidwka/render-readme"},"dependencies":{"remarkable":"1.x >=1.5","sanitize-html":"1.x >=1.4","js-yaml":"3.x >=3.2","highlight.js":"8.x"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"license":"MIT","gitHead":"8ae5aa122c1f5e02e867ad62d4976003f6477b1d","bugs":{"url":"https://github.com/rlidwka/render-readme/issues"},"homepage":"https://github.com/rlidwka/render-readme","_id":"render-readme@0.2.3","scripts":{},"_shasum":"b02b4ca2145911c4ffb244aa7ce8d21a2326ecaf","_from":".","_npmVersion":"2.0.1","_nodeVersion":"0.10.25","_npmUser":{"name":"rlidwka","email":"alex@kocharin.ru"},"maintainers":[{"name":"rlidwka","email":""}],"dist":{"shasum":"b02b4ca2145911c4ffb244aa7ce8d21a2326ecaf","size":7090,"noattachment":false,"key":"/render-readme/-/render-readme-0.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/render-readme/download/render-readme-0.2.3.tgz"},"directories":{},"publish_time":1419184244237,"_cnpm_publish_time":1419184244237,"_hasShrinkwrap":false},"0.2.2":{"name":"render-readme","version":"0.2.2","description":"render and sanitize readme.md just like github would","author":{"name":"Alex Kocharin","email":"alex@kocharin.ru"},"repository":{"type":"git","url":"git://github.com/rlidwka/render-readme"},"dependencies":{"remarkable":"1.x >=1.5","sanitize-html":"1.x >=1.4","js-yaml":"3.x >=3.2","highlight.js":"8.x"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"license":"MIT","gitHead":"7dd8b26ea3f1cc2fd05bf7abb9dca753928b6b84","bugs":{"url":"https://github.com/rlidwka/render-readme/issues"},"homepage":"https://github.com/rlidwka/render-readme","_id":"render-readme@0.2.2","scripts":{},"_shasum":"f1d6408a738dd7da3374a1ab3dc8f295194410b9","_from":".","_npmVersion":"2.0.1","_nodeVersion":"0.10.25","_npmUser":{"name":"rlidwka","email":"alex@kocharin.ru"},"maintainers":[{"name":"rlidwka","email":""}],"dist":{"shasum":"f1d6408a738dd7da3374a1ab3dc8f295194410b9","size":7083,"noattachment":false,"key":"/render-readme/-/render-readme-0.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/render-readme/download/render-readme-0.2.2.tgz"},"directories":{},"publish_time":1418591538519,"_cnpm_publish_time":1418591538519,"_hasShrinkwrap":false},"0.2.1":{"name":"render-readme","version":"0.2.1","description":"render and sanitize readme.md just like github would","author":{"name":"Alex Kocharin","email":"alex@kocharin.ru"},"repository":{"type":"git","url":"git://github.com/rlidwka/render-readme"},"dependencies":{"remarkable":"1.x >=1.4","sanitize-html":"1.x >=1.4","js-yaml":"3.x >=3.2","highlight.js":"8.x"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"license":"MIT","gitHead":"a216f40befea550a934d27b8b66361fabf119a59","bugs":{"url":"https://github.com/rlidwka/render-readme/issues"},"homepage":"https://github.com/rlidwka/render-readme","_id":"render-readme@0.2.1","scripts":{},"_shasum":"46595d77c72fd5148189797f9eaa409e3ea22fab","_from":".","_npmVersion":"2.0.1","_nodeVersion":"0.10.25","_npmUser":{"name":"rlidwka","email":"alex@kocharin.ru"},"maintainers":[{"name":"rlidwka","email":""}],"dist":{"shasum":"46595d77c72fd5148189797f9eaa409e3ea22fab","size":7074,"noattachment":false,"key":"/render-readme/-/render-readme-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/render-readme/download/render-readme-0.2.1.tgz"},"directories":{},"publish_time":1417457276510,"_cnpm_publish_time":1417457276510,"_hasShrinkwrap":false},"0.2.0":{"name":"render-readme","version":"0.2.0","description":"render and sanitize readme.md just like github would","author":{"name":"Alex Kocharin","email":"alex@kocharin.ru"},"repository":{"type":"git","url":"git://github.com/rlidwka/render-readme"},"dependencies":{"remarkable":"1.x >=1.4","sanitize-html":"1.x >=1.4","js-yaml":"3.x >=3.2","highlight.js":"8.x"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"license":"MIT","gitHead":"a6e4875eb8a26e41642b0f90bd8ca70dbc3d450a","bugs":{"url":"https://github.com/rlidwka/render-readme/issues"},"homepage":"https://github.com/rlidwka/render-readme","_id":"render-readme@0.2.0","scripts":{},"_shasum":"3bb57921d4d06aa08353167cfb4a9676c38fbcfe","_from":".","_npmVersion":"2.0.1","_nodeVersion":"0.10.25","_npmUser":{"name":"rlidwka","email":"alex@kocharin.ru"},"maintainers":[{"name":"rlidwka","email":""}],"dist":{"shasum":"3bb57921d4d06aa08353167cfb4a9676c38fbcfe","size":6738,"noattachment":false,"key":"/render-readme/-/render-readme-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/render-readme/download/render-readme-0.2.0.tgz"},"directories":{},"publish_time":1417456695309,"_cnpm_publish_time":1417456695309,"_hasShrinkwrap":false}},"readme":"\nRender and sanitize readme.md just like github would.\n\nBasically, it's node.js version for this:\nhttps://github.com/github/markup\n\nBut only for markdown for now, because that's what io.js packages use mostly.\n\n## API\n\n```js\nrequire('render-readme')('Hello, *world*!')\n\n// outputs '<p>Hello, <em>world</em>!</p>\\n'\n```\n\n## Features\n\n - the basic rendering is [commonmark](https://github.com/jgm/CommonMark) + gfm extensions (emphasis slightly differs, but nobody cares anyway)\n - html is sanitized, the configuration is similar to [github stuff](https://github.com/github/markup#html-sanitization) (using [sanitize-html](https://github.com/punkave/sanitize-html))\n - syntax highlighting (using [highlight-js](https://github.com/isagalaev/highlight.js) for this one)\n - YAML metadata on top of markdown documents is rendered to a table\n - anchors for headers (`<a name=\"blah\">` instead of `<a id=\"user-content-blah\">`, but should be good enough)\n\n","_attachments":{},"homepage":"https://github.com/rlidwka/render-readme","bugs":{"url":"https://github.com/rlidwka/render-readme/issues"},"license":"MIT"}