{"id":20489282,"url":"https://github.com/webduinoio/webduino-js","last_synced_at":"2025-06-16T11:07:25.594Z","repository":{"id":33541649,"uuid":"37187781","full_name":"webduinoio/webduino-js","owner":"webduinoio","description":"⚙️ The Webduino Javascript Core, for Browser and Node.js","archived":false,"fork":false,"pushed_at":"2023-04-16T14:52:37.000Z","size":1158,"stargazers_count":71,"open_issues_count":2,"forks_count":24,"subscribers_count":19,"default_branch":"master","last_synced_at":"2025-06-09T02:41:34.786Z","etag":null,"topics":["arduino","firmata","javascript","mqtt","nodejs","webduino"],"latest_commit_sha":null,"homepage":"https://webduino.io","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/webduinoio.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-06-10T09:27:20.000Z","updated_at":"2023-04-13T07:52:36.000Z","dependencies_parsed_at":"2024-06-18T18:44:09.939Z","dependency_job_id":null,"html_url":"https://github.com/webduinoio/webduino-js","commit_stats":{"total_commits":227,"total_committers":7,"mean_commits":32.42857142857143,"dds":"0.44052863436123346","last_synced_commit":"5a77e57752f55295d9ebcee17eb13f1c12084951"},"previous_names":[],"tags_count":66,"template":false,"template_full_name":null,"purl":"pkg:github/webduinoio/webduino-js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webduinoio%2Fwebduino-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webduinoio%2Fwebduino-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webduinoio%2Fwebduino-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webduinoio%2Fwebduino-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webduinoio","download_url":"https://codeload.github.com/webduinoio/webduino-js/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webduinoio%2Fwebduino-js/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260148390,"owners_count":22965912,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arduino","firmata","javascript","mqtt","nodejs","webduino"],"created_at":"2024-11-15T17:12:08.667Z","updated_at":"2025-06-16T11:07:25.561Z","avatar_url":"https://github.com/webduinoio.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# webduino-js\nThe Webduino Javascript Core, for Browser and Node.js\n\n## Installation\n#### Browser\nUsing [bower](http://bower.io):\n```sh\n$ bower install webduino-js#dist\n```\n\nInsert scripts:\n```html\n\u003cscript src=\"bower_components/webduino-js/dist/webduino-base.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"bower_components/webduino-js/src/module/Led.js\"\u003e\u003c/script\u003e\n... (modules used)\n```\n\nOr all-in-one:\n```html\n\u003cscript src=\"bower_components/webduino-js/dist/webduino-all.js\"\u003e\u003c/script\u003e\n```\n\n#### Node.js\n```sh\n$ npm install webduino-js\n```\n\n## Usage\n**webduino-js** provides isomorphic APIs:\n\n```javascript\nvar webduino = require('webduino-js');\n\nvar board, led;\n\nboard = new webduino.WebArduino('device_id');\n\nboard.on('ready', function() {\n  led = new webduino.module.Led(board, board.getDigitalPin(10));\n  led.on();\n});\n```\n\n## Transports\n**webduino-js** talks to Webduino Dev Board via MQTT by default. However, since **webduino-js** speaks [Firmata](https://www.arduino.cc/en/Reference/Firmata), we can also _directly_ talk to standard Arduino or any dev board that understands firmata.\n\nCurrently we have transports supporting USB serial port and Bluetooth (HC-06 tested) communications: _(Note: you have to install Firmata library first)_\n\n* [webduino-serial-transport](https://github.com/webduinoio/webduino-serial-transport)\n* [webduino-bluetooth-transport](https://github.com/webduinoio/webduino-bluetooth-transport)\n\n## See Also\n* [Webduino Dev Board and Webduino Dev Kit](https://webduino.io)\n* [The Firmata Protocol](https://github.com/firmata/protocol)\n* [Arduino Firmata Installation](http://www.instructables.com/id/Arduino-Installing-Standard-Firmata)\n\n## License\nThis project is licensed under MIT license, see [LICENSE](LICENSE) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebduinoio%2Fwebduino-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebduinoio%2Fwebduino-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebduinoio%2Fwebduino-js/lists"}