Package Exports
- @project-chip/matter.js
- @project-chip/matter.js/dist/cjs/matter.js
- @project-chip/matter.js/dist/es/matter.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@project-chip/matter.js) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
matter.js
Implementation of Matter protocol in typescript with no native dependencies (and very limited dependencies).
Current status
This is work in progress.
Completed implementations:
- TLV codec (coder/decoder) and schema mapping and validation engine
- 12 cluster definitions (including TLV structures for all messages)
matter.js usage
matter.js is used at the core of those two projects:
- matternode: a light-weight node.js implementation of a Matter Node
- node-matter: a Matter client / server running on node.js compatible with HA (Android / iOs support in progress)
Tests
Run tests in node.js: npm run test
Run tests in the browser: npm run test-web
test-web will create a /coverage directory conatining the test code coverage