html-react-parser

v5.1.18
HTML to React parser.
html-react-parser html react parser dom

benchmark

ts-node benchmark

build

npm run build:cjs && npm run build:umd

build:cjs

tsc --project tsconfig.build.json

build:umd

rollup --config --failAfterWarnings

clean

rm -rf coverage lib dist

lint

eslint .

lint:fix

npm run lint -- --fix

lint:tsc

tsc --noEmit

prepare

husky

prepublishOnly

npm run lint && npm run lint:tsc && npm run test:ci && npm run clean && npm run build

size-limit

size-limit

test

jest --testPathIgnorePatterns __tests__/integration

test:ci

CI=true npm test -- --ci --colors

test:esm

npm run build:cjs && node --test __tests__/esm

test:integration

npm run build && jest --coverage=false --env=jsdom __tests__/integration

test:watch

npm test -- --watch
npm i html-react-parser

Metadata

  • MIT
  • Whatever
  • Mark
  • released 10/6/2024

Downloads

Maintainers