No description
Find a file
2020-02-17 00:17:41 +09:00
src apply the text merging 2020-02-17 00:17:41 +09:00
.gitignore 🐱 2020-02-01 16:10:25 +09:00
LICENSE update iroiro 2020-02-16 23:27:25 +09:00
package.json revert way to build peg 2020-02-16 23:57:16 +09:00
README.md update iroiro 2020-02-16 23:27:25 +09:00
tsconfig.client.json update iroiro 2020-02-16 23:27:25 +09:00
tsconfig.json update iroiro 2020-02-16 23:27:25 +09:00
webpack.config.js update iroiro 2020-02-16 23:27:25 +09:00

mfm-parser-pegjs

Description

A MFM parser made with PEG.js (In developing)

Installation

npm i mfm-parser-pegjs

Usage

import { parse } from 'mfm-parser-pegjs';

// parse a MFM code
const result = parse('this is a ***MFM text***');

Usage (Repository)

1. Clone

git clone https://github.com/marihachi/mfm-parser-pegjs.git

2. Build

For production:

npm run build

For development:

npm run build-dev

Use Interactive interface

npm parse

License

MIT