Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
jsx-to-htmltemplate
Advanced tools
An experimental cli utility to convert JSX into html template. It also support different templating engines like java freemarker to render a template engine specific format
An experimental cli utility to convert JSX into html template. It also support different templating engines like java freemarker to render a template engine specific format
Cli was tested with Node.js v9+.
Install the dependencies and devDependencies and start the server.
$ npm install -g jsx-htmltemplate
$ jsx-htmltemplate
jsx-htmltemplate is based on plugin system. Behind the scene, it uses babel plugin to trasnpile es6 classes containing jsx in render function and convert them into generic html code. This html code is tranpiled into language and template engine specific html template using plugins. Currently the build is shipped with a Java freemarker template engine plugin converting JSX into a Apache Freemarker template
Plugin | README |
---|---|
Java Freemarker | posthtml-jsxhtml-freemarker |
MIT License
FAQs
An experimental cli utility to convert JSX into html template. It also support different templating engines like java freemarker to render a template engine specific format
The npm package jsx-to-htmltemplate receives a total of 2 weekly downloads. As such, jsx-to-htmltemplate popularity was classified as not popular.
We found that jsx-to-htmltemplate demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.