-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Modern Web API's, dev tool protocol, serial/I2C,USB,BLE, ETC #6210
Comments
Please don't assume I didn't search for duplicates when I did. I searched for devtools and didn't see 4756 or 1699 similarly. I get your request for a specific feature, which in this case is more about supporting hardware and native app development out of the box, which is why I wouldn't necessarily call it a duplicate of those or the one's I already mentioned. Web API's are one way of doing it and more consistent with being "webby" but I'm sure there are other ways as well. |
Although adding hardware/mobile app support isn't technically part of deno's goals, it is both what makes node shine and what holds it back in terms of making hybrid apps competitive. The following core goals, in and of themselves make a compelling argument for adding web API's that allow hardware support out of the box.
Lets say even a few of the API's mentioned above were implemented (like serial and I2C). |
as someone that's worked with node-serialport and noble (node BLE), i can say it's been a nightmare maintaining those projects as native plugins to node. Would be awesome to see these as built-ins to deno. If there's any possibility to get webSerial from chromium into deno, we could have denobots powered by johnny-five :) |
Some of those requested had already PRs opened, however they pose a significant challenge from the testing standpoint so I'm respectfully declining at this time.
|
Part of what made node.js take off so much wasn't the http server, but rather, the runtime's ability to allow developers to use JS to write a server, mobile app, and even hardware.
In that same spirit, wouldn't it be advantageous to add direct support for serial, usb, ble, etc?
Also if the goal is to make it more "web like" or webby, adding support for modern web API's like #5954 mentions could be really help this.
There are also other API's beyond Serial API and the Native File System API, that could definitely help bring native-like app and hardware development to deno such as:
Browser Debugging:
Native / Mobile App API's
Light weight Database Stuff also addresses #5605
[Others Worth considering] (https://www.creativebloq.com/features/15-web-apis-youve-never-heard-of)
The text was updated successfully, but these errors were encountered: