tessellate-transform
v1.2.0
Published
Tessellate JSX/JSON transformer.
Downloads
2
Readme
tessellate-transform
Library to transform React components from JSX or JSON to JSON. The output format can be consumed by tessellate-bundler.
Usage:
const file = {
content: '<h1>Hello, world!</h1>',
extname: '.jsx'
}
const options = {}
const object = await parse(file, options)
Command line use:
tessellate-transform [OPTIONS] FILE
Options:
--type-prefix Prefix for React class names