@yannosay/sinth 1.8.3 → 1.8.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -30
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,39 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
# Sinth <img src="https://sinth.yannosay.com/assets/logosinth.webp" alt="logo" width="48" style="border-radius: 12px; vertical-align: middle; margin-left: 8px;">
|
|
3
|
-
[](https://www.npmjs.com/package/@yannosay/sinth)
|
|
4
|
-
[](https://www.npmjs.com/package/@yannosay/sinth)
|
|
5
|
-
[](https://github.com/Yannosay/sinth/blob/main/LICENSE)
|
|
1
|
+
# 
|
|
6
2
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
3
|
+
[](https://www.npmjs.com/package/@yannosay/sinth)
|
|
4
|
+
[](https://www.npmjs.com/package/@yannosay/sinth)
|
|
5
|
+
[](https://github.com/yannosay/sinth/blob/main/LICENSE)
|
|
6
|
+
[](https://github.com/yannosay/sinth/commits)
|
|
7
|
+
[](https://github.com/yannosay/sinth/pulls)
|
|
10
8
|
|
|
11
9
|
* Introduction: https://www.youtube.com/watch?v=W0tOMTiIF0Q
|
|
12
10
|
* Discord: [Join here!](https://discord.gg/SUvcrafTQm)
|
|
13
|
-
* Documentation: [sinth.yannosay.com/docs](https://sinth.yannosay.com/docs)
|
|
14
|
-
|
|
15
|
-
#### Try out Sinth directly in Web! (BETA. Uses an older version of Sinth.)
|
|
16
|
-
|
|
17
|
-
```html
|
|
18
|
-
<div id="app"></div>
|
|
19
|
-
<script src="https://lib.yannosay.com/sinth.js/sinth.js"></script>
|
|
20
|
-
<script type="text/sinth">
|
|
21
|
-
page
|
|
22
|
-
title = "Counter"
|
|
23
|
-
var int count = 0
|
|
24
|
-
|
|
25
|
-
Main {
|
|
26
|
-
Heading(level: 1) {count}
|
|
27
|
-
Button(onClick: count = count + 1) {"Increment"}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
$entry-point("app")
|
|
31
|
-
</script>
|
|
32
|
-
```
|
|
33
|
-
|
|
11
|
+
<!-- * Documentation: [sinth.yannosay.com/docs](https://sinth.yannosay.com/docs) -->
|
|
34
12
|
|
|
35
|
-
##
|
|
13
|
+
## Sinth Compiler
|
|
14
|
+
Welcome to Sinth Compiler! Sinth enables faster, easier and reactive HTML coding.
|
|
36
15
|
|
|
16
|
+
## Overview
|
|
37
17
|
#### Reactive forms in one line.
|
|
38
18
|
```ts
|
|
39
19
|
Input(bind: userName, placeholder: "Enter your name")
|