burdy-web-utils
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

Burdy Web Utils

Powerful utilities to simplify usage of the Burdy on the web.

Instalation

npm i burdy-web-utils

Functionalities

richtextToHtml

A function for converting Richtext (DraftJS) Editor content to plain HTML.

This is forked version of draftjs-to-html draftjs-to-html created by Jyoti Puri.

Usage

import { richtextToHtml } from 'burdy-web-utils';

const rawContentState = BURDY_RICHTEXT_RESPONSE;

const markup = richtextToHtml(
  rawContentState
);

/burdy-web-utils/

    Package Sidebar

    Install

    npm i burdy-web-utils

    Weekly Downloads

    37

    Version

    1.1.0

    License

    SEE LICENSE IN LICENSE

    Unpacked Size

    26.5 kB

    Total Files

    9

    Last publish

    Collaborators

    • stefan-burdy
    • team-burdy
    • sandra-burdy