# rust-markdown

> Render Markdown to HTML using native Rust

Latest version **0.1.0** (published 2017-01-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install rust-markdown
pnpm add rust-markdown
yarn add rust-markdown
bun add rust-markdown
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2017-01-27 |
| First published | 2017-01-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| Author | Adrián Arroyo Calle |
| Maintainers | adrian.arroyocalle |

## Links

- npm: https://www.npmjs.com/package/rust-markdown
- npm.io page: https://npm.io/package/rust-markdown

## Dependencies (1)

- [neon-cli](https://npm.io/package/neon-cli.md) ^0.1.11

## Recent versions

- 0.1.0 (latest) — 2017-01-27

## README

# rust-markdown

Render Markdown using Rust.

A Rust compiler is required.

Usage:

```js

var md = require("rust-markdown");
var http = require('http');
var fs = require("fs");

var server = http.createServer((req, res) => {
  fs.readFile("index.md","utf-8",function(err,data){
     var html = md.render(data);
     res.statusCode = 200;
     res.setHeader('Content-Type', 'text/html');
     res.end(html);
  });
});

server.listen(8080, "127.0.0.1", () => {
  console.log("Server running");
});
```

---
_Source: https://npm.io/package/rust-markdown · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
