All Projects → blikblum → to-htm

blikblum / to-htm

Licence: MIT license
Conversion tool from JSX or Handlebars to htm (tagged template literal)

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to to-htm

Dataformsjs
🌟 DataFormsJS 🌟 A minimal JavaScript Framework and standalone React and Web Components for rapid development of high quality websites and single page applications.
Stars: ✭ 95 (+171.43%)
Mutual labels:  jsx, handlebars
lit
Lit is a simple library for building fast, lightweight web components.
Stars: ✭ 12,406 (+35345.71%)
Mutual labels:  lit-html
next-api-og-image
Easy way to generate open-graph images dynamically in HTML or React using Next.js API Routes. Suitable for serverless environment.
Stars: ✭ 179 (+411.43%)
Mutual labels:  jsx
jsx.js
small and extendable jsx transpiler
Stars: ✭ 19 (-45.71%)
Mutual labels:  jsx
joltik
A really small VDOM library
Stars: ✭ 40 (+14.29%)
Mutual labels:  jsx
react exercises
Exercises for Rithm School's free online React Fundamentals course
Stars: ✭ 28 (-20%)
Mutual labels:  jsx
bce.design
minimal magic, minimal tooling, essential dependencies, high productivity, no transpilations and no migrations. The Web Components starter ships with integrated lit-html, redux-toolkit and vaadin router components.
Stars: ✭ 67 (+91.43%)
Mutual labels:  lit-html
ts-transform-react-jsx-source
TypeScript AST Transformer that adds source file and line number to JSX elements
Stars: ✭ 12 (-65.71%)
Mutual labels:  jsx
nupic.tensorflow
Numenta Platform for Intelligent Computing Tensorflow libraries
Stars: ✭ 19 (-45.71%)
Mutual labels:  htm
hsx
Static HTML sites with JSX and webpack (no React).
Stars: ✭ 15 (-57.14%)
Mutual labels:  jsx
gatsby-reactstrap
Adding Bootstrap 4 to an Gatsby React App and serve generated the static site with Express.js
Stars: ✭ 25 (-28.57%)
Mutual labels:  jsx
option chain analysis
NSE Nifty Option chain analysis on the web page.
Stars: ✭ 63 (+80%)
Mutual labels:  handlebars
sublime-jsx
Simple Sublime Text 3 JSX implementation
Stars: ✭ 24 (-31.43%)
Mutual labels:  jsx
aoife
使用 jsx 开发 native-js 程序, 每个组建都是一个原始的 HTMLElment,可以和所有原生 js 库很好的兼容使用。
Stars: ✭ 60 (+71.43%)
Mutual labels:  jsx
hacker-hiring-hunt
👨‍💻 Tool for searching through Hacker News whoshiring threads
Stars: ✭ 28 (-20%)
Mutual labels:  jsx
md-editor-v3
Markdown editor for vue3, developed in jsx and typescript, dark theme、beautify content by prettier、render articles directly、paste or clip the picture and upload it...
Stars: ✭ 326 (+831.43%)
Mutual labels:  jsx
gutenberg-workshop
⚒️ A Gutenberg Workshop 🅱️
Stars: ✭ 21 (-40%)
Mutual labels:  jsx
conference-app
🎪 A Sample Conference App built with React Native
Stars: ✭ 18 (-48.57%)
Mutual labels:  jsx
lit-html-brackets
🌈 Lit-html extension that uses a bracket syntax similar to Angular's template syntax.
Stars: ✭ 18 (-48.57%)
Mutual labels:  lit-html
hyperstache
👨‍🦰 Handlebars just got a trim, alternative JS template engine, 2kb gzip
Stars: ✭ 36 (+2.86%)
Mutual labels:  handlebars

to-htm

Conversion tool from JSX or Handlebars to htm (tagged template literal)

Features

  • Convert from JSX to htm (tagged template literal)
  • Convert from Handlebars to JSX or htm (tagged template literal)
  • Format output code with prettier
  • Option to toggle React attributes names (className, htmlFor etc)

Web app

See live version here

CLI

Install

 npm install -g to-htm

Usage

to-htm <file-pattern>

Where file-pattern is a glob. Example:

to-htm **/*.hbs

Todo

  • Improve cli (add options)

Credits

Copyright

2019 - Luiz Américo Pereira Câmara

MIT License

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].