@modernserf/safe-html

0.1.0 • Public • Published

safe-html

Safe HTML + stylesheet insertion in React

What is this?

This is an experiment in allowing, effectively, a safe subset of JSX & scoped CSS for enabling end-user customization on social media platforms.

Usage

See example code at frontend/index.js and the demo app at modernserf-safe-html.glitch.me.

Should I use this?

Not yet. Maybe someday!

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i @modernserf/safe-html

Weekly Downloads

0

Version

0.1.0

License

MIT

Unpacked Size

56.3 kB

Total Files

12

Last publish

Collaborators

  • modernserf