0.1.1 • Published 5 years ago
text-tag-parser v0.1.1
text-tag-parser
This is a very tiny module that parses your text into different format depending on given tags.
eg: "*Bold" ==> Bold
Usage
yarn add text-tag-parser
import parseText from 'text-tag-parser'
Then in your code you can call like this
parseText(String)
You can render the returned value to the DOM or use any view library of your choice to render it