0.0.0-alpha.0.1 • Published 5 years ago

arduino-cli-node v0.0.0-alpha.0.1

Weekly downloads
6
License
-
Repository
-
Last release
5 years ago

#ARDUINO CLI NODE.JS WRAPPER

#Still in the VERY early stages. ###See cli/demo.js for some example like material (no examples yet).

Constructor Options:

  • config
    • Path to custom arduino yaml config file
  • ready
    • bypass environment setup checks (increases likelyhood of failure due to race conditions or non-configured board)
  • searchPaths
    • Array of paths (relative to the cwd where sketch named directories can be found. Selects the first match if only a name but not a path is supplied)
  • arduinoCliPath
    • absolute path to Arduino-Cli (I hope to be able to provide binaries in the future); Example:

{ config: configFile, ready: true, searchPaths: ['./demo_sketch_alt/', './demo_sketch/'] }