meshcore.js/package.json
Manuel Bahamóndez-Honores 1f0b684beb Add TypeScript type declarations
- Add index.d.ts with comprehensive type definitions for all exported classes
- Include type declarations for Connection, NodeJSSerialConnection, and other connection types
- Add types for Constants, Advert, Packet, BufferUtils, and CayenneLpp
- Add type declarations for submodules (constants, buffer_reader, buffer_writer)
- Update package.json to reference the types file

This enables TypeScript users to have proper type checking and autocomplete when using the library.
2026-01-24 08:47:07 -03:00

17 lines
386 B
JSON

{
"name": "@liamcottle/meshcore.js",
"version": "1.10.0",
"description": "",
"main": "src/index.js",
"types": "index.d.ts",
"type": "module",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Liam Cottle <liam@liamcottle.com>",
"license": "MIT",
"dependencies": {
"@noble/curves": "^1.8.1",
"serialport": "^13.0.0"
}
}