mikrojs 0.2.0 → 0.3.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/README.md +7 -7
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -19,16 +19,16 @@
|
|
|
19
19
|
</div>
|
|
20
20
|
|
|
21
21
|
> [!NOTE]
|
|
22
|
-
> Mikro.js is in early development. APIs
|
|
22
|
+
> Mikro.js is in early development. Expect APIs to change.
|
|
23
23
|
|
|
24
24
|
## Features
|
|
25
25
|
|
|
26
|
-
- **
|
|
27
|
-
- **Full TypeScript**: type-checked hardware APIs with modern JavaScript support
|
|
28
|
-
- **Batteries included**: GPIO, PWM, I2C, SPI, UART, WiFi,
|
|
29
|
-
- **Host simulator**: run and test your code on your computer with `mikro sim dev
|
|
30
|
-
- **No exceptions**: typed Result errors instead of try/catch
|
|
31
|
-
- **Built-in testing**: write tests with familiar describe/it syntax
|
|
26
|
+
- **Fast feedback loop**: interactive dev console with watch mode and incremental builds that deploy to your device in a few seconds
|
|
27
|
+
- **Full TypeScript**: type-checked hardware APIs with modern JavaScript support. Errors are in the type signature, not hidden behind try/catch
|
|
28
|
+
- **Batteries included**: GPIO, PWM, I2C, SPI, UART, WiFi, HTTP, NeoPixel, deep sleep, SNTP, CBOR, schema validation, key-value storage, and more
|
|
29
|
+
- **Host simulator**: run and test your code on your computer with `mikro sim dev`. No microcontroller needed
|
|
30
|
+
- **No exceptions**: typed Result errors instead of try/catch. Every failure is visible in the type signature
|
|
31
|
+
- **Built-in testing**: write tests with familiar describe/it syntax. Run on-device, in the simulator, or against stubbed hardware modules
|
|
32
32
|
|
|
33
33
|
## Quickstart
|
|
34
34
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mikrojs",
|
|
3
|
-
"version": "0.2
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"description": "Mikro.js: TypeScript for microcontrollers",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"embedded",
|
|
@@ -87,11 +87,11 @@
|
|
|
87
87
|
"uint8array-extras": "^1.5.0",
|
|
88
88
|
"update-notifier": "^7.3.1",
|
|
89
89
|
"which-pm-runs": "^2.0.0",
|
|
90
|
-
"@mikrojs/analyze-imports": "0.2
|
|
91
|
-
"@mikrojs/
|
|
92
|
-
"@mikrojs/
|
|
93
|
-
"@mikrojs/
|
|
94
|
-
"@mikrojs/quickjs": "0.2
|
|
90
|
+
"@mikrojs/analyze-imports": "0.3.2",
|
|
91
|
+
"@mikrojs/firmware": "0.3.2",
|
|
92
|
+
"@mikrojs/native": "0.3.2",
|
|
93
|
+
"@mikrojs/esptool": "0.3.2",
|
|
94
|
+
"@mikrojs/quickjs": "0.3.2"
|
|
95
95
|
},
|
|
96
96
|
"devDependencies": {
|
|
97
97
|
"@swc/core": "^1.15.30",
|