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
- Host: GitHub
- URL: https://github.com/stan-kondrat/tsf
- Owner: stan-kondrat
- License: mit
- Created: 2017-08-10T22:40:59.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-22T21:53:28.000Z (over 8 years ago)
- Last Synced: 2025-09-27T20:26:36.788Z (6 months ago)
- Topics: framework, typescript, webpack
- Language: TypeScript
- Homepage: https://stan-kondrat.github.io/tsf
- Size: 168 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TSF - TypeScript Web Framework
> An lightweight web framework for TypeScript :surfer: 1.8 kB (minified and gzipped),
[](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.