invert-markdown-table
1.2.0 • Public • Published Available on npm:
npm i invert-markdown-table
Online Inverter: http://harttle.land/invert-markdown-table/
Usage
var invertMarkdownTable = require('invert-markdown-table');
var source = 'a | b\n---|---\nc | d'
var result = invertMarkdownTable(source);
console.log(result);
Use in Browser
Global Variable:
var source = 'a | b\n---|---\nc | d';
var result = window.invertMarkdownTable(source);
RequireJS:
require(['invert-markdown-table'], function (invertMarkdownTable) {
var source = 'a | b\n---|---\nc | d'
var result = invertMarkdownTable(source);
});
Readme
Keywords
nonePackage Sidebar
Install
npm i invert-markdown-table
Weekly Downloads