Skip to content

Commit c1dab6a

Browse files
Update README.md
1 parent 01b1ee5 commit c1dab6a

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

README.md

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,12 @@ If you wish to convert BBCode to HTML or HTML to BBCode see [bbcode-parser-templ
88

99
### Installing
1010

11-
#### Browser
12-
13-
- ``git submodule add https://github.com/thoughtsunificator/bbcode-parser lib/bbcode-parser``
14-
15-
#### Node.js
16-
17-
- ``npm install @thoughtsunificator/bbcode-parser``
18-
- Add ``type: "module"`` to your package.json.
11+
- ``npm install bbcode-parser``
1912

2013
### Usage
2114

2215
````javascript
23-
import { Parser } from '@thoughtsunificator/bbcode-parser' // or ./lib/bbcode-parser/index.js
16+
import { Parser } from 'bbcode-parser'
2417

2518
const bbDocument = Parser.parse("[b]Hey, thanks![/b]") // return a BBDocument instance
2619

0 commit comments

Comments
 (0)