TreborJS is a NodeJS module to compile component declarated files
into stand-alone web component
javascript files to be used
in the browser. The format of a single file component is specified be the module and described
in it's documentation.
In this days front-end frameworks are very populars comming to be an important part of a web application. Almost all of then have a runtime library that is part of the application, Vue, React, Angular, but what if we can make a component that no need a runtime lib?
What if we can create all components without useless code and can run it self?. That is what TreborJS
do, a module that compile an structured html file in a javascript file with just the code you need and nothing more.
Install locally
npm i trebor -D
or install globally
npm i trebor -g
Read the documentation here
TO-DO