+5
-1
| { | ||
| "name": "bbcoder", | ||
| "version": "1.0.0", | ||
| "version": "1.0.1", | ||
| "main": "index.js", | ||
@@ -10,2 +10,6 @@ "scripts": { | ||
| "license": "BSD-3-Clause", | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "https://github.com/wukaikailive/BBCoder" | ||
| }, | ||
| "babel": { | ||
@@ -12,0 +16,0 @@ "presets": [ |
+7
-6
@@ -15,2 +15,4 @@ # BBCoder | ||
| ``` | ||
| import BBCoder from 'bbcoder' | ||
| let bbCoder = new BBCoder('[u]abc[u]') | ||
@@ -35,9 +37,8 @@ bbCoder.parse() | ||
| ``` | ||
| let bbCoder = new BBCoder('[u]这[/u][i]',{ | ||
| let bbCoder = new BBCoder('[u]这[/u][i]',{ | ||
| ignoreUncloseTag: true | ||
| }) | ||
| bbCoder.parse() | ||
| let html = bbCoder.html() | ||
| // <u>这</u> | ||
| }); | ||
| }) | ||
| bbCoder.parse() | ||
| let html = bbCoder.html() | ||
| // <u>这</u> | ||
| ``` | ||
@@ -44,0 +45,0 @@ |
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
18320
0.64%64
1.59%1
-50%