Skip to content

Commit

Permalink
📝 Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
zeon256 committed Jul 31, 2023
1 parent 50d81a7 commit 92f4c71
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@

## Installation (CLI)
```bash
npm install -g mdtable2json-cli
npm install -g mdt2json-cli
```

## Installation (Library)
```bash
npm install mdtable2json
npm install mdt2json-ts
```

## CLI Usage
```bash
Usage: mdtable2json-cli [options]
Usage: mdt2json-cli-cli [options]

Options:
-f, --file <file> file to transpile
Expand All @@ -32,7 +32,7 @@ Options:

## Library Usage
```typescript
import { MarkdownTable2Json, JsonLayout } from 'mdtable2json';
import { MarkdownTable2Json, JsonLayout } from 'mdt2json-ts';

const markdownString = `your_markdown_string_here`;
const transpiler = new MarkdownTable2Json({markdownString, layout: JsonLayout.AoS , minify: true });
Expand Down

0 comments on commit 92f4c71

Please sign in to comment.