@timeax/trim
TypeScript icon, indicating that this package has built-in type declarations

0.3.6 • Public • Published

Trim.js


Trim is an HTML preprocessor that provides the power necessary to build front-end and full-stack applications effectively and efficiently. With syntax and functionality similar to react, trim allows you to create reusable components. Trim is highly compatible with Alpine.js, which makes it possible to create functional components.

Installation


npm i trim -g

Usage


The syntax of Trim.js is very similar to JSX. Below is a list of add-ons;

  • Rule tags - {@Rule ...}
  • Js Expressions(substitute for react expression containers) - {{...}}
  • AEC(Alpine expression container) - {...}
  • Scriptlet tag - <{...}>

See my full installation and usage guide

Readme

Keywords

Package Sidebar

Install

npm i @timeax/trim

Weekly Downloads

3

Version

0.3.6

License

GPL-3.0 license

Unpacked Size

828 kB

Total Files

187

Last publish

Collaborators

  • timeax