trebor
v1.0.1
Published
A Nodejs module to make standalone web components.
Downloads
29
Maintainers
Readme
trebor
Overview
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.
Why?
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.
How to use
Install locally
npm i trebor -D
or install globally
npm i trebor -g
Documentation
Read the documentation here
Contributions
TO-DO