medium-to-markdown/README.md

18 lines
576 B
Markdown

# Medium to markdown
[![npm](https://img.shields.io/npm/v/medium-to-markdown.svg)](https://npmjs.com/package/medium-to-markdown) [![npm](https://img.shields.io/npm/l/medium-to-markdown.svg)]()
This module lets you take a medium post and convert it to markdown.
### Usage
Currently, the module supports getting the markdown from a medium post by URL.
```javascript
const mediumToMarkdown = require('medium-to-markdown');
mediumToMarkdown.convertFromUrl('<medium post url>')
.then(function (markdown) {
console.log(markdown); //=> Markdown content of medium post
});
```