UNPKG

bleat

Version:

Abstraction library following Web Bluetooth specification for hiding differences in JavaScript BLE APIs

13 lines 350 B
module.exports = { helpers: require('./dist/bluetooth.helpers'), get classic() { var bluetooth = require('./dist/api.classic'); require('./dist/adapter.noble')(bluetooth); return bluetooth; }, get webbluetooth() { var bluetooth = require('./dist/api.web-bluetooth'); require('./dist/adapter.noble')(bluetooth); return bluetooth; } };