A target package for the TS2C transpiler (v0.15.0+, monthly releases) that compiles TypeScript to C for the ESP-GDBK-N microcontroller. Provides board-specific hardware abstractions (GPIO, SPI, I2C) as TypeScript decorators. Differentiates from Arduino by allowing TypeScript-to-C transpilation, enabling type-safe embedded development. No readme available; usage inferred from peer package 'ts2c'.
npm install ts2c-target-gdbk-nNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates basic GPIO output usage with the Led class decorator.
Update ts2c to >=0.15.0.
Refer to ts2c documentation for general usage patterns.
Use { GPIO, SPI, I2C } import syntax.Use import statements with the transpiler which expects ESM.
npm install ts2c-target-gdbk-n --save-dev
Switch to import statement in an ESM context.
Use import { GPIO } from 'ts2c-target-gdbk-n'