htr_cli

Crates.iohtr_cli
lib.rshtr_cli
version0.5.27
sourcesrc
created_at2022-08-06 14:05:27.908153
updated_at2023-03-06 15:19:44.629028
descriptionconvert html to react fast
homepage
repositoryhttps://github.com/a11ywatch/htr
max_upload_size
id639854
size10,880
Jeff Mendez (j-mendez)

documentation

https://docs.rs/htr

README

htr_cli

The CLI usage of the HTML to React transform

Usage

Transform props to React.


htr transform --html '<div class="something" for="mystuff" tabindex="2" style="color: white; background-color: black">'

Transform to React component.


htr transform --html '<div class="something" for="mystuff" tabindex="2" style="color: white; background-color: black">' --component-name 'Main'

Commit count: 21

cargo fmt