sendscript 0.0.1 → 0.0.2
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/CHANGELOG.md +6 -0
- package/README.md +18 -2
- package/README.mz +2 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,8 +4,14 @@ All notable changes to this project will be documented in this file. Dates are d
|
|
|
4
4
|
|
|
5
5
|
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
6
6
|
|
|
7
|
+
#### [v0.0.2](https://github.com/bas080/sendscript/compare/v0.0.1...v0.0.2)
|
|
8
|
+
|
|
9
|
+
- Add table of content to readme [`a14f2d8`](https://github.com/bas080/sendscript/commit/a14f2d86f602a01721812d1c5be94b299e515397)
|
|
10
|
+
|
|
7
11
|
#### [v0.0.1](https://github.com/bas080/sendscript/compare/v0.0.0...v0.0.1)
|
|
8
12
|
|
|
13
|
+
> 26 September 2023
|
|
14
|
+
|
|
9
15
|
- Add square fn to the socket.io example [`8d7cfbd`](https://github.com/bas080/sendscript/commit/8d7cfbddd7933804e7168825cf1e17e792c91fe9)
|
|
10
16
|
- Rename dsl to api [`4a67324`](https://github.com/bas080/sendscript/commit/4a6732456656db743d02c5c35444f93a866d27ec)
|
|
11
17
|
- Move promise only concept to own module [`50adde6`](https://github.com/bas080/sendscript/commit/50adde694b3d23fb025a4ad20dcc83d7bb72b852)
|
package/README.md
CHANGED
|
@@ -11,6 +11,22 @@ Write JS code that you can run on servers, browsers or other clients.
|
|
|
11
11
|
> method of communication between servers and clients that best fits your
|
|
12
12
|
> needs.
|
|
13
13
|
|
|
14
|
+
<!-- toc -->
|
|
15
|
+
|
|
16
|
+
- [Socket example](#socket-example)
|
|
17
|
+
* [Module](#module)
|
|
18
|
+
* [Server](#server)
|
|
19
|
+
* [Client](#client)
|
|
20
|
+
- [Reference](#reference)
|
|
21
|
+
* [`sendscript/api.mjs`](#sendscriptapimjs)
|
|
22
|
+
* [`sendscript/exec.mjs`](#sendscriptexecmjs)
|
|
23
|
+
- [Tests](#tests)
|
|
24
|
+
- [Formatting](#formatting)
|
|
25
|
+
- [Changelog](#changelog)
|
|
26
|
+
- [License](#license)
|
|
27
|
+
|
|
28
|
+
<!-- tocstop -->
|
|
29
|
+
|
|
14
30
|
## Socket example
|
|
15
31
|
|
|
16
32
|
For this example we'll use [socket.io][socket.io].
|
|
@@ -176,7 +192,7 @@ npx c8 --100 npm t -- -R classic
|
|
|
176
192
|
```
|
|
177
193
|
```
|
|
178
194
|
|
|
179
|
-
> sendscript@0.0.
|
|
195
|
+
> sendscript@0.0.2 test
|
|
180
196
|
> tap *.test.mjs --no-cov -R classic
|
|
181
197
|
|
|
182
198
|
api.test.mjs .......................................... 5/5
|
|
@@ -184,7 +200,7 @@ curry.test.mjs ........................................ 4/4
|
|
|
184
200
|
exec.test.mjs ....................................... 16/16
|
|
185
201
|
total ............................................... 25/25
|
|
186
202
|
|
|
187
|
-
25 passing (
|
|
203
|
+
25 passing (426.12ms)
|
|
188
204
|
|
|
189
205
|
ok
|
|
190
206
|
------------------|---------|----------|---------|---------|-------------------
|
package/README.mz
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sendscript",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"description": "Blur the line between server and client code.",
|
|
5
5
|
"module": true,
|
|
6
6
|
"main": "index.mjs",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"scripts": {
|
|
12
12
|
"test": "tap *.test.mjs --no-cov",
|
|
13
13
|
"version": "npm run docs && git add *.md",
|
|
14
|
-
"docs": "markatzea README.mz | tee README.md"
|
|
14
|
+
"docs": "markatzea README.mz | tee README.md && npx markdown-toc -i README.md"
|
|
15
15
|
},
|
|
16
16
|
"author": "Bas Huis",
|
|
17
17
|
"license": "MIT",
|