Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/olivierjm/textparser

parse tagged text in a html friendly format
https://github.com/olivierjm/textparser

npm npm-package

Last synced: 26 days ago
JSON representation

parse tagged text in a html friendly format

Awesome Lists containing this project

README

        

# text-tag-parser

[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

> 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

Contributors

@CoolNerd504