aerotemplate

1.0.0 • Public • Published

Aerotemplate

A simple, intuitive and integrated web framework, written in TypeScript.

Aerotemplate offers a simple way to ingretate components in a non-direct way to the HTML, is so simple to import the module in a JS or TS file and then execute it, it will generate an HTML output.

Example usage

(index.js)

const aerotemplate = require('aerotemplate')

aerotemplate.render(`
<h1> Hey! </h1>
`)

With components

(index.js)

const aerotemplate = require('aerotemplate')
const onecomponent = require('./component')

aerotemplate.render(`
${onecomponent}
`)

(component.js)

var string = '<p> Hey, this is a cool component here! </p>'

module.exports = string

Readme

Keywords

none

Package Sidebar

Install

npm i aerotemplate

Weekly Downloads

1

Version

1.0.0

License

Apache-2.0

Unpacked Size

9.43 kB

Total Files

5

Last publish

Collaborators

  • auditive_jax