File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 11# Tiny Browser Framework
22
3+ [ ![ npm] ( https://img.shields.io/npm/v/tiny-browser-framework.svg )] ( )
34[ ![ Build Status] ( https://travis-ci.org/thedumbterminal/TinyBrowserFramework.svg?branch=master )] ( https://travis-ci.org/thedumbterminal/TinyBrowserFramework )
45
56Tiny browser web framework, which communicates to the server via a websocket. All DOM changes are performed using HTML provided by the server.
67
78Minified size is 2.25 Kb which when transmitted compressed is 858 Bytes!
89
10+ ## Usage
11+
12+ Install the package:
13+
14+ npm install tiny-browser-framework
15+
16+ Then create a script tag in your HTML to reference the ` src/index.js ` file.
17+
18+ See the example for more information.
19+
920## Specification
1021
1122### Client
@@ -26,7 +37,7 @@ A server must return JSON from websocket requests in the following format:
2637
2738As this is an array the server may return 0 or more elements that need to updated.
2839
29- ### Demo
40+ ## Example
3041
3142To run the example server use:
3243
Original file line number Diff line number Diff line change 11{
22 "name" : " tiny-browser-framework" ,
33 "description" : " Minimal Client JS Framework" ,
4- "version" : " 1.0.0 " ,
4+ "version" : " 1.0.1 " ,
55 "homepage" : " https://github.com/thedumbterminal/TinyBrowserFramework" ,
66 "author" : {
77 "name" : " thedumbterminal" ,
You can’t perform that action at this time.
0 commit comments