An open API service indexing awesome lists of open source software.

https://github.com/stan-kondrat/tsf

TypeScript Web Framework - An lightweight web framework :surfer: 3 kB
https://github.com/stan-kondrat/tsf

framework typescript webpack

Last synced: about 1 month ago
JSON representation

TypeScript Web Framework - An lightweight web framework :surfer: 3 kB

Awesome Lists containing this project

README

          

# TSF - TypeScript Web Framework
> An lightweight web framework for TypeScript :surfer: 1.8 kB (minified and gzipped),

[![Build Status](https://travis-ci.org/stan-kondrat/tsf.svg)](https://travis-ci.org/stan-kondrat/tsf)

Documentation and Examples - https://stan-kondrat.github.io/tsf

```typescript
const app = new TSF('#app');

class Main {
public $template = `Plus {{ this.counter }}`;
public counter = 0;

plus() {
this.counter++; // DOM will updated automatically
}
}

const main = new Main();

app.run(main); // Render application root component

main.counter = 100; // DOM will updated automatically
```

## Installing / Getting started

```shell
npm install tsf-web
```

## Licensing

The TSF is open-sourced software licensed under the MIT.