mirror of
https://activitypub.software/TransFem-org/sfm-js
synced 2024-11-21 21:55:09 +00:00
update readme, package.json
This commit is contained in:
parent
bffb7b5b9b
commit
ae2296d6e1
2 changed files with 3 additions and 3 deletions
|
@ -5,13 +5,13 @@ An MFM parser implementation with PEG.js
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
```
|
```
|
||||||
npm i rosee
|
npm i mfm-js
|
||||||
```
|
```
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
TypeScript:
|
TypeScript:
|
||||||
```ts
|
```ts
|
||||||
import * as mfm from 'rosee';
|
import * as mfm from 'mfm-js';
|
||||||
|
|
||||||
const inputText =
|
const inputText =
|
||||||
`<center>
|
`<center>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "mfm-js",
|
"name": "mfm-js",
|
||||||
"version": "0.8.0",
|
"version": "0.8.0",
|
||||||
"description": "A MFM parser implementation with PEG.js",
|
"description": "An MFM parser implementation with PEG.js",
|
||||||
"main": "./built/index.js",
|
"main": "./built/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "npm run tsc && npm run peg",
|
"build": "npm run tsc && npm run peg",
|
||||||
|
|
Loading…
Reference in a new issue