export classes

This commit is contained in:
liamcottle 2025-02-13 00:18:25 +13:00
parent 7ede1cd284
commit 74c8981039
2 changed files with 12 additions and 1 deletions

View file

@ -2,7 +2,7 @@
"name": "@liamcottle/meshcore.js",
"version": "0.0.1",
"description": "",
"main": "device.js",
"main": "src/index.js",
"type": "module",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"

11
src/index.js Normal file
View file

@ -0,0 +1,11 @@
import Connection from "./connection/connection.js";
import BleConnection from "./connection/ble_connection.js";
import SerialConnection from "./connection/serial_connection.js";
import Constants from "./constants.js";
export {
Connection,
BleConnection,
SerialConnection,
Constants,
};